]> git.bitcoin.ninja Git - youtube-dl/commitdiff
Fix URL template extraction for netzkino. Fixes #5614
authorblissland <blissland.house@googlemail.com>
Fri, 8 May 2015 09:40:25 +0000 (10:40 +0100)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Fri, 8 May 2015 10:20:34 +0000 (12:20 +0200)
youtube_dl/extractor/netzkino.py

index bc17e20aa9d736eb9e4ba0a39929f20db47d8465..0d165a82ad53ac8ac16ca8943c934db9fb28b720 100644 (file)
@@ -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)