aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/bilibili.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2018-04-01 02:06:14 +0700
committerSergey M․ <dstftw@gmail.com>2018-04-01 02:06:58 +0700
commit95a1322bc10687efac0b00fb3fd55708e556baf2 (patch)
treea38e22d399bf4079efeae7d7a816e295b6362788 /youtube_dl/extractor/bilibili.py
parent0669f8fd8f19fbe0783974654fc2a6925d6162b0 (diff)
[bilibili] Remove debug from player params regexes
Diffstat (limited to 'youtube_dl/extractor/bilibili.py')
-rw-r--r--youtube_dl/extractor/bilibili.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/youtube_dl/extractor/bilibili.py b/youtube_dl/extractor/bilibili.py
index 90697c4a7..3e3348ef5 100644
--- a/youtube_dl/extractor/bilibili.py
+++ b/youtube_dl/extractor/bilibili.py
@@ -117,9 +117,9 @@ class BiliBiliIE(InfoExtractor):
r'cid(?:["\']:|=)(\d+)', webpage, 'cid',
default=None
) or compat_parse_qs(self._search_regex(
- [r'1EmbedPlayer\([^)]+,\s*"([^"]+)"\)',
- r'1EmbedPlayer\([^)]+,\s*\\"([^"]+)\\"\)',
- r'1<iframe[^>]+src="https://secure\.bilibili\.com/secure,([^"]+)"'],
+ [r'EmbedPlayer\([^)]+,\s*"([^"]+)"\)',
+ r'EmbedPlayer\([^)]+,\s*\\"([^"]+)\\"\)',
+ r'<iframe[^>]+src="https://secure\.bilibili\.com/secure,([^"]+)"'],
webpage, 'player parameters'))['cid'][0]
else:
if 'no_bangumi_tip' not in smuggled_data: