1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-20 22:16:12 +08: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:
Rogério Brito 2011-10-18 18:41:02 -02:00
parent a1a8713aad
commit 9f47175a40

View File

@ -3426,7 +3426,7 @@ class XVideosIE(InfoExtractor):
# Extract video URL
mobj = re.search(r'flv_url=(.+?)&', webpage)
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
video_url = urllib2.unquote(mobj.group(1).decode('utf-8'))