mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-12 19:27:25 +08:00
[NxLoad] Fixed u
This commit is contained in:
parent
536a1f81e8
commit
08418ea6c7
@ -53,7 +53,7 @@ class NxLoadIE(InfoExtractor):
|
|||||||
alt_title = self._html_search_regex(r'<div class="filename">([^<]+)', webpage, 'title', video_id)
|
alt_title = self._html_search_regex(r'<div class="filename">([^<]+)', webpage, 'title', video_id)
|
||||||
title = title or alt_title
|
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)
|
jsonObj = self._parse_json(json, video_id, transform_source=js_to_json)
|
||||||
|
|
||||||
self.report_extraction(video_id)
|
self.report_extraction(video_id)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user