1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-14 05:34:32 +01:00

[bilibili] try to support python 2.6+ and fix ci

This commit is contained in:
snylonue 2020-03-11 16:10:07 +08:00
parent e59daf797c
commit 3988b7bf08

View File

@ -455,7 +455,7 @@ class BilibiliNewBangumiIE(InfoExtractor):
cid = bgmdata['epInfo']['cid']
# aid = bgmdata['epInfo']['aid']
except KeyError as e:
raise ExtractorError(f'{video_id}: Failed to extract cid', cause=e)
raise ExtractorError('Failed to extract cid', cause=e, video_id=video_id)
title = bgmdata.get('h1Title') or self._og_search_title(webpage)