logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: 43837189c18af635cfb1cd8fe503265b4b218c32
parent 249962ffa2b155795ebfe0a267eb025cd5e30c56
Author: blissland <blissland.house@googlemail.com>
Date:   Fri,  8 May 2015 10:40:25 +0100

Fix URL template extraction for netzkino. Fixes #5614

Diffstat:

Myoutube_dl/extractor/netzkino.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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)