mirror of
https://github.com/l1ving/youtube-dl
synced 2025-02-09 12:52:53 +08:00
[bilibili] Fix extraction (#16638)
This commit is contained in:
parent
c797db4a2f
commit
14ce0cc842
@ -114,7 +114,7 @@ class BiliBiliIE(InfoExtractor):
|
|||||||
|
|
||||||
if 'anime/' not in url:
|
if 'anime/' not in url:
|
||||||
cid = self._search_regex(
|
cid = self._search_regex(
|
||||||
r'cid(?:["\']:|=)(\d+)', webpage, 'cid',
|
r'(?:["\'{\s])cid(?:["\']:|=)(\d+)', webpage, 'cid',
|
||||||
default=None
|
default=None
|
||||||
) or compat_parse_qs(self._search_regex(
|
) or compat_parse_qs(self._search_regex(
|
||||||
[r'EmbedPlayer\([^)]+,\s*"([^"]+)"\)',
|
[r'EmbedPlayer\([^)]+,\s*"([^"]+)"\)',
|
||||||
|
Loading…
Reference in New Issue
Block a user