1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2025-02-16 17:07:54 +01:00

fix syntax

This commit is contained in:
Pablo Castorino 2020-03-22 12:45:48 -03:00
parent 185849f1d4
commit c7db73fcd3

View File

@ -83,7 +83,7 @@ class ContarBaseIE(InfoExtractor):
def _get_season_number(self, serie_info, video_id):
for season in serie_info.get('seasons', []).get('data', []):
season_number = season.get('name')
for episode in season.get('videos',[]).get('data', []):
for episode in season.get('videos', []).get('data', []):
if episode.get('id') == video_id:
return season_number
return None
@ -228,8 +228,7 @@ class ContarChannelIE(ContarBaseIE):
},
'playlist_mincount': 68,
'params': {
'username': 'ytdl@yt-dl.org',
'password': '(snip)',
'usenetrc': True,
'skip_download': True
}
}