keep the old pattern for player parameters in bilibily.py
This commit is contained in:
parent
c5953ac41d
commit
d67bd96970
@ -94,6 +94,7 @@ class BiliBiliIE(InfoExtractor):
|
|||||||
if 'anime/' not in url:
|
if 'anime/' not in url:
|
||||||
cid = compat_parse_qs(self._search_regex(
|
cid = compat_parse_qs(self._search_regex(
|
||||||
[r'EmbedPlayer\([^)]+,[^)]+,\s*\\"([^"]+)\\"\)',
|
[r'EmbedPlayer\([^)]+,[^)]+,\s*\\"([^"]+)\\"\)',
|
||||||
|
r'EmbedPlayer\([^)]+,[^)]+,\s*"([^"]+)"\)',
|
||||||
r'<iframe[^>]+src="https://secure\.bilibili\.com/secure,([^"]+)"'],
|
r'<iframe[^>]+src="https://secure\.bilibili\.com/secure,([^"]+)"'],
|
||||||
webpage, 'player parameters'))['cid'][0]
|
webpage, 'player parameters'))['cid'][0]
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user