mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2025-01-07 13:47:54 +01:00
[narando] use already given URL for downloading webpage
This commit is contained in:
parent
0c2fc982d3
commit
00bcff6387
@ -19,7 +19,7 @@ class NarandoPlayerIE(InfoExtractor):
|
||||
|
||||
def _real_extract(self, url):
|
||||
video_id = self._match_id(url)
|
||||
webpage = self._download_webpage('https://narando.com/widget?r=' + video_id, video_id)
|
||||
webpage = self._download_webpage(url, video_id)
|
||||
title = self._html_search_regex(r'<span class="clip-title">(.+?)</span>', webpage, 'title')
|
||||
download_url = self._html_search_regex(r'.<div class="stream_url hide">\s*([^?]*)', webpage, 'download_url')
|
||||
return {
|
||||
|
Loading…
Reference in New Issue
Block a user