mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-04-29 03:55:53 +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 = (
|
play_info = (
|
||||||
traverse_obj(
|
traverse_obj(
|
||||||
self._search_json(
|
self._search_json(r'window\.__playinfo__\s*=', webpage, 'play info', video_id, default=None),
|
||||||
r'window\.__playinfo__\s*=', webpage, 'play info', video_id, default=None),
|
|
||||||
('data', {dict}))
|
('data', {dict}))
|
||||||
or self._download_playinfo(video_id, cid, headers=headers))
|
or self._download_playinfo(video_id, cid, headers=headers))
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user