Update series.py

This commit is contained in:
None 2025-04-30 13:55:12 +02:00 committed by GitHub
parent 89e8ffb23c
commit ace77c6f7a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -155,7 +155,7 @@ def download_series(select_season: MediaItem, season_selection: str = None, epis
# Init class
video_source = VideoSource(site_constant.FULL_URL, True, select_season.id)
scrape_serie = GetSerieInfo(site_constant.FULL_URL, select_season.id, select_season.name)
scrape_serie = GetSerieInfo(site_constant.FULL_URL, select_season.id, select_season.slug)
# Collect information about season
scrape_serie.getNumberSeason()
@ -219,4 +219,4 @@ def download_series(select_season: MediaItem, season_selection: str = None, epis
# Get script_id
script_id = TelegramSession.get_session()
if script_id != "unknown":
TelegramSession.deleteScriptId(script_id)
TelegramSession.deleteScriptId(script_id)