oseymour / ScraperFC

Python package for scraping soccer data from a variety of sources
GNU General Public License v3.0
222 stars 49 forks source link

Transfermarkt data not scraping #20

Closed c0neill96 closed 1 year ago

c0neill96 commented 1 year ago

Question: Hi,

I cannot seem to scrape transfermarkt data. Running the below results in TypeError: cannot unpack non-iterable NoneType object. The issue appears to stem from the check_seasons() function

import ScraperFC as sfc from ScraperFC.shared_functions import *

sfc.Transfermarkt().get_club_links(year=2014, league='Bundesliga')

oseymour commented 1 year ago

Hey @c0neill96! I'll look into it when I get some free time. Thanks for flagging this!

oseymour commented 1 year ago

@c0neill96 this should be fixed in the most recent push to the repo and in v2.6.3 on PyPI. Please re-open this issue if it's not working for you after updating! Thanks!