mirror of
https://github.com/l1ving/youtube-dl
synced 2020-11-18 19:53:54 -08:00
fix syntax
This commit is contained in:
parent
185849f1d4
commit
c7db73fcd3
@ -83,7 +83,7 @@ class ContarBaseIE(InfoExtractor):
|
|||||||
def _get_season_number(self, serie_info, video_id):
|
def _get_season_number(self, serie_info, video_id):
|
||||||
for season in serie_info.get('seasons', []).get('data', []):
|
for season in serie_info.get('seasons', []).get('data', []):
|
||||||
season_number = season.get('name')
|
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:
|
if episode.get('id') == video_id:
|
||||||
return season_number
|
return season_number
|
||||||
return None
|
return None
|
||||||
@ -225,11 +225,10 @@ class ContarChannelIE(ContarBaseIE):
|
|||||||
'id': '242',
|
'id': '242',
|
||||||
'title': 'md5:352d30d8fa7896eec02f65b2c7299d27',
|
'title': 'md5:352d30d8fa7896eec02f65b2c7299d27',
|
||||||
'description': 'md5:ac4e1f02201cffb86ac8ed4bcba4a593'
|
'description': 'md5:ac4e1f02201cffb86ac8ed4bcba4a593'
|
||||||
},
|
},
|
||||||
'playlist_mincount': 68,
|
'playlist_mincount': 68,
|
||||||
'params': {
|
'params': {
|
||||||
'username': 'ytdl@yt-dl.org',
|
'usenetrc': True,
|
||||||
'password': '(snip)',
|
|
||||||
'skip_download': True
|
'skip_download': True
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user