Skip to content

Scraping for season 2022 #284

Answered by dcaribou
rgb18 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @rgb18,

I'd takle this in two steps

Step 1: Fixing the missing players file error

The transfermarkt-api acquirer depends on some data from the transfermarkt-scraper acquirer. In particular, it depends on the players.json file that is one of the outputs of transfermarkt-scraper. If you haven't either

  1. run transfermarkt-scraper for all seasons (make acquire_local ACQUIRER=transfermarkt-scraper ARGS="--seasons 2014-2023 --asset players") or
  2. pull raw scraped data from remote storage (dvc pull)

The players.json files will be missing in your local and therefore you will get that error. I suggest that you run either one of the commands above (note that 2 will be much faster) and try again.

S…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rgb18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants