Skip to content

Commit

Permalink
[narando] use already given URL for downloading webpage
Browse files Browse the repository at this point in the history
  • Loading branch information
ealgase committed Dec 1, 2018
1 parent 0c2fc98 commit 00bcff6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube_dl/extractor/narando.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 00bcff6

Please sign in to comment.