Skip to content

Scraping all EU leagues and other confederations #91

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

You must be logged in to vote

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:

{"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"}

competitions.json is actu…

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
9 replies
@dcaribou
Comment options

@srdjov18
Comment options

@dcaribou
Comment options

@srdjov18
Comment options

@dcaribou
Comment options

Answer selected by dcaribou
Comment options

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