mirror of
https://github.com/l1ving/youtube-dl
synced 2025-02-09 06:52:56 +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:
|
||||
cid = self._search_regex(
|
||||
r'cid(?:["\']:|=)(\d+)', webpage, 'cid',
|
||||
r'(?:["\'{\s])cid(?:["\']:|=)(\d+)', webpage, 'cid',
|
||||
default=None
|
||||
) or compat_parse_qs(self._search_regex(
|
||||
[r'EmbedPlayer\([^)]+,\s*"([^"]+)"\)',
|
||||
|
Loading…
Reference in New Issue
Block a user