Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SoFifa] Not downloading league data for women leagues #702

Open
tomerarazy opened this issue Sep 11, 2024 · 1 comment
Open

[SoFifa] Not downloading league data for women leagues #702

tomerarazy opened this issue Sep 11, 2024 · 1 comment
Labels
bug Something isn't working SoFIFA Issue or pull request related to the SoFIFA scraper

Comments

@tomerarazy
Copy link

I'm trying to get league composition for Women leagues from SoFifa, but for some reason the downloaded HTML is missing the whole teams table.
Minimal code example:

sofifa = SoFIFA(data_dir=data_dir_raw, version_id="230001")
teams = sofifa.read_teams("2216")

The URL of the page it attempts to scrape is: https://sofifa.com/teams?lg=2216&r=230001&set=true
When looking at the HTML downloaded by Chrome the table is there and structure is similar to the Men's leagues.

I've uploaded the HTML file (changed to txt since github doesn't allow me to upload)

teams_2216_230001.txt

@tomerarazy tomerarazy added the bug Something isn't working label Sep 11, 2024
@probberechts
Copy link
Owner

When I try to access the URL in Chrome, I don't see a table.

sofifa com_teams_lg=2216 r=230001 set=true(iPad Pro)

@probberechts probberechts added the SoFIFA Issue or pull request related to the SoFIFA scraper label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working SoFIFA Issue or pull request related to the SoFIFA scraper
Projects
None yet
Development

No branches or pull requests

2 participants