From: blissland Date: Fri, 8 May 2015 09:40:25 +0000 (+0100) Subject: Fix URL template extraction for netzkino. Fixes #5614 X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=43837189c18af635cfb1cd8fe503265b4b218c32;p=youtube-dl.git Fix URL template extraction for netzkino. Fixes #5614 --- 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)