datacollect icon indicating copy to clipboard operation
datacollect copied to clipboard

A collection of tools to collect and download various data.

Results 5 datacollect issues
Sort by recently updated
recently updated
newest added

Shame that a lot of the links are out of date for the fantasy soccer scraper, this looks like a very useful project!

help wanted

The code uses `.ix` for indexing in pandas DataFrames, which is deprecated. It should be replaced with `.loc` or `.iloc` depending on whether label-based or integer-based indexing is intended. Using...

The `requests.get` calls inside `get_general_stats` sometimes use the `timeout` parameter and sometimes don't. This inconsistency can lead to unpredictable behavior, where some requests might hang indefinitely while others are properly...

The help message for the `collect_epl.py` script shows an example of running `collect_epl.py`, but the script name should match the filename: `collect_fantasysoccer.py`. This discrepancy can cause confusion for users trying...

The `get_general_stats` function fetches data from two URLs. The first URL, `https://www.dreamteamfc.com/statistics/players/ALL/`, has a timeout implemented using a `try...except` block. However, the second URL, `https://www.dreamteamfc.com/statistics/injuries-and-cards/ALL/`, lacks this timeout implementation. This...