aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/netzkino.py
diff options
context:
space:
mode:
authorblissland <blissland.house@googlemail.com>2015-05-08 10:40:25 +0100
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>2015-05-08 12:20:34 +0200
commit43837189c18af635cfb1cd8fe503265b4b218c32 (patch)
treefff938b7475791c5cd2fc34ce59fa9d5612f450a /youtube_dl/extractor/netzkino.py
parent249962ffa2b155795ebfe0a267eb025cd5e30c56 (diff)
Fix URL template extraction for netzkino. Fixes #5614
Diffstat (limited to 'youtube_dl/extractor/netzkino.py')
-rw-r--r--youtube_dl/extractor/netzkino.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/netzkino.py b/youtube_dl/extractor/netzkino.py
index bc17e20aa..0d165a82a 100644
--- a/youtube_dl/extractor/netzkino.py
+++ b/youtube_dl/extractor/netzkino.py
@@ -49,7 +49,7 @@ class NetzkinoIE(InfoExtractor):
'http://www.netzkino.de/beta/dist/production.min.js', video_id,
note='Downloading player code')
avo_js = self._search_regex(
- r'window\.avoCore\s*=.*?urlTemplate:\s*(\{.*?"\})',
+ r'var urlTemplate=(\{.*?"\})',
production_js, 'URL templates')
templates = self._parse_json(
avo_js, video_id, transform_source=js_to_json)