-
Got it running and I have some data. Thanks for the help setting this up! Have a quick question about the scraping process:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
Scraped competitions are controlled by the {"type": "competition", "parent": {"type": "confederation", "href": "/wettbewerbe/europa", "seasoned_href": "https://www.transfermarkt.co.uk/wettbewerbe/europa"}, "country_id": "148", "country_name": "Switzerland", "country_code": "C1", "competition_type": "first_tier", "href": "/super-league/startseite/wettbewerb/C1"}
|
Beta Was this translation helpful? Give feedback.
-
Glad to hear you got it running! 😊 Regarding your question about scraping all EU leagues and potentially other confederations, you can adjust the scraping process in the code itself. Look for the section where the leagues are defined or where the scraping logic is implemented. You may need to modify the code to include additional leagues or confederations. Also, if you're open to using a tool, I recommend checking out Crawlbase for efficient scraping. Hope this helps! Let me know if you need further assistance. |
Beta Was this translation helpful? Give feedback.
data/prep/leagues.csv
is an leftover from a previous version. I need to get that cleaned up.Scraped competitions are controlled by the
data/competitions.json
file. You can have new competitions added to the dataset by adding entries to that file. For example, by adding a line like this, the scrape should start collecting data for the Swiss league:competitions.json
is actu…