mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-09-06 19:17:00 +00:00
fix some unnecessary format fixes
This commit is contained in:
parent
2c0052097f
commit
493022e4a7
|
@ -178,8 +178,9 @@ def _get_episodes_from_season(self, ss_id, url):
|
|||
note='Downloading season info', query={'season_id': ss_id},
|
||||
headers={'Referer': url, **self.geo_verification_headers()})
|
||||
|
||||
for entry in traverse_obj(season_info, ('result', 'main_section', 'episodes',
|
||||
lambda _, v: url_or_none(v['share_url']) and v['id'])):
|
||||
for entry in traverse_obj(season_info, (
|
||||
'result', 'main_section', 'episodes',
|
||||
lambda _, v: url_or_none(v['share_url']) and v['id'])):
|
||||
yield self.url_result(entry['share_url'], BiliBiliBangumiIE, f'ep{entry["id"]}')
|
||||
|
||||
def _enc_wbi(self, params: dict, video_id=None):
|
||||
|
|
Loading…
Reference in a new issue