mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-09-16 07:47:22 +00:00
fix some unnecessary format fixes
This commit is contained in:
parent
2c0052097f
commit
493022e4a7
|
@ -178,7 +178,8 @@ 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',
|
||||
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"]}')
|
||||
|
||||
|
|
Loading…
Reference in a new issue