ScraperFC icon indicating copy to clipboard operation
ScraperFC copied to clipboard

Python package for scraping soccer data from a variety of sources

Results 10 ScraperFC issues
Sort by recently updated
recently updated
newest added

**Module:** Transfermarkt **Description of problem:** Unable to retrieve information with transfermarkt module. **Code:** ``` import ScraperFC as sfc import traceback scraper = sfc.Transfermarkt() try: # Scrape the table player_links =...

bug

Question: Recently, while trying the get_players_match_stats function in Sofascore.py, the output returns only in 10 rows, meaning stats for only 10 players from each team. I tried this function previously...

From Understat.py: 634 game_states = game_states.append( 635 pd.DataFrame(row_array.reshape(1,-1)),#, columns=game_states.columns), 636 ignore_index=True 637 ) Being game_states a df, I think append is deprecated in pandas, should be changed to concat().

enhancement
help wanted

Question: i was trying to pull the player stats of a whole season of sofascore and it gave me this error. > JSONDecodeError Traceback (most recent call last) > >...

bug

Question: I was trying to pull the league tables for the 2024 season off of Understat and I was given this error: ![image](https://github.com/oseymour/ScraperFC/assets/59630004/f771bfbc-ce2f-4c0d-bb45-52c588a07ffb)

bug

I'm trying to scrape salaries as follows: scraper = sfc.Capology() out = scraper.scrape_salaries(2019, "La Liga", "eur") scraper.close() But I'm getting an strange error that could be a bug or maybe...

bug

- [x] Change the .split() function inside get_match_url because Sofascore change the structure of their urls to something like this: https://www.sofascore.com/empoli-milan/Rdbsfeb#id:11407516 Example: ![image](https://github.com/oseymour/ScraperFC/assets/101477588/8c25284a-a71f-496b-ae52-20cfbf985589)

# Overview This pull request introduces a new function that efficiently gathers and organizes transfer history for a specified football league. # Changes New Functionality: A new method, `get_league_transfer_history`, has...

ScraperFC version: 3.1.0 Selenium version: 4.23.1 As normal, I import ScraperFC, initialize the Capology scraper per the documentation, and attempt to scrape EPL data from 2023-24. The result is a...