mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-04-08 18:03:43 +00:00
use bvid
This commit is contained in:
parent
e92dcf0077
commit
1248528409
@ -653,7 +653,8 @@ class BiliBiliIE(BilibiliBaseIE):
|
||||
raise ExtractorError(
|
||||
'This video may be deleted or geo-restricted. '
|
||||
'You might want to try a VPN or a proxy server (with --proxy)', expected=True)
|
||||
play_info = self._download_playinfo(video_id, initial_state['cid'], headers=headers)
|
||||
play_info = self._download_playinfo(traverse_obj(initial_state, ('videoData', 'bvid'), default=video_id),
|
||||
initial_state['cid'], headers=headers)
|
||||
else:
|
||||
play_info = traverse_obj(play_info_obj, ('data', {dict}))
|
||||
if not play_info:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user