1
0
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:
celeron533 2018-06-14 22:55:33 +08:00
parent c797db4a2f
commit 14ce0cc842

View File

@ -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*"([^"]+)"\)',