diff --git a/downloader.py b/downloader.py index 24b2ea6..70456bd 100644 --- a/downloader.py +++ b/downloader.py @@ -111,7 +111,7 @@ class RomhackRaceScraper: seasons = set() # use a set to avoid duplicates # Find the season navigation section - looking for text that starts with "Season" - season_text = soup.find(text=lambda t: t and t.strip().startswith('Season')) + season_text = soup.find(string=lambda t: t and t.strip().startswith('Season')) if season_text: parent = season_text.parent