From 08418ea6c72195e8e6088613ead6298e28ae1d61 Mon Sep 17 00:00:00 2001 From: kr4ssi Date: Tue, 19 Feb 2019 23:28:53 +0100 Subject: [PATCH] [NxLoad] Fixed u --- youtube_dl/extractor/nxload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/nxload.py b/youtube_dl/extractor/nxload.py index f1d8b81f9..1c718e4d2 100644 --- a/youtube_dl/extractor/nxload.py +++ b/youtube_dl/extractor/nxload.py @@ -53,7 +53,7 @@ class NxLoadIE(InfoExtractor): alt_title = self._html_search_regex(r'
([^<]+)', webpage, 'title', video_id) title = title or alt_title - json = self._search_regex(r'new Clappr\.Player\(((?:.|\s)+?})\);', webpage, u'video URL').replace('function() { }', '0').replace('3*1024*1024', '3145728') + json = self._search_regex(r'new Clappr\.Player\(((?:.|\s)+?})\);', webpage, 'json').replace('function() { }', '0').replace('3*1024*1024', '3145728') jsonObj = self._parse_json(json, video_id, transform_source=js_to_json) self.report_extraction(video_id)