mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-04-10 02:43:44 +00:00
Update yt_dlp/extractor/bilibili.py
This commit is contained in:
parent
63a3011150
commit
8bf65ed2d3
@ -686,8 +686,7 @@ class BiliBiliIE(BilibiliBaseIE):
|
||||
|
||||
play_info = (
|
||||
traverse_obj(
|
||||
self._search_json(
|
||||
r'window\.__playinfo__\s*=', webpage, 'play info', video_id, default=None),
|
||||
self._search_json(r'window\.__playinfo__\s*=', webpage, 'play info', video_id, default=None),
|
||||
('data', {dict}))
|
||||
or self._download_playinfo(video_id, cid, headers=headers))
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user