diff options
author | blissland <blissland.house@googlemail.com> | 2015-05-08 10:40:25 +0100 |
---|---|---|
committer | Jaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com> | 2015-05-08 12:20:34 +0200 |
commit | 43837189c18af635cfb1cd8fe503265b4b218c32 (patch) | |
tree | fff938b7475791c5cd2fc34ce59fa9d5612f450a /youtube_dl/extractor/netzkino.py | |
parent | 249962ffa2b155795ebfe0a267eb025cd5e30c56 (diff) |
Fix URL template extraction for netzkino. Fixes #5614
Diffstat (limited to 'youtube_dl/extractor/netzkino.py')
-rw-r--r-- | youtube_dl/extractor/netzkino.py | 2 |
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) |