mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-25 11:41:52 +00:00
xvideos: Fix misleading error message when extracting the URL.
We said that we were trying to extract the title of the video.
This commit is contained in:
parent
a1a8713aad
commit
9f47175a40
1 changed files with 1 additions and 1 deletions
|
@ -3426,7 +3426,7 @@ class XVideosIE(InfoExtractor):
|
||||||
# Extract video URL
|
# Extract video URL
|
||||||
mobj = re.search(r'flv_url=(.+?)&', webpage)
|
mobj = re.search(r'flv_url=(.+?)&', webpage)
|
||||||
if mobj is None:
|
if mobj is None:
|
||||||
self._downloader.trouble(u'ERROR: unable to extract video title')
|
self._downloader.trouble(u'ERROR: unable to extract video url')
|
||||||
return
|
return
|
||||||
video_url = urllib2.unquote(mobj.group(1).decode('utf-8'))
|
video_url = urllib2.unquote(mobj.group(1).decode('utf-8'))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue