mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-29 19:47:54 +01:00
Fix URL template extraction for netzkino. Fixes #5614
This commit is contained in:
parent
249962ffa2
commit
43837189c1
@ -49,7 +49,7 @@ class NetzkinoIE(InfoExtractor):
|
|||||||
'http://www.netzkino.de/beta/dist/production.min.js', video_id,
|
'http://www.netzkino.de/beta/dist/production.min.js', video_id,
|
||||||
note='Downloading player code')
|
note='Downloading player code')
|
||||||
avo_js = self._search_regex(
|
avo_js = self._search_regex(
|
||||||
r'window\.avoCore\s*=.*?urlTemplate:\s*(\{.*?"\})',
|
r'var urlTemplate=(\{.*?"\})',
|
||||||
production_js, 'URL templates')
|
production_js, 'URL templates')
|
||||||
templates = self._parse_json(
|
templates = self._parse_json(
|
||||||
avo_js, video_id, transform_source=js_to_json)
|
avo_js, video_id, transform_source=js_to_json)
|
||||||
|
Loading…
Reference in New Issue
Block a user