]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
xvideos: Fix misleading error message when extracting the URL.
authorRogério Brito <rbrito@ime.usp.br>
Tue, 18 Oct 2011 20:41:02 +0000 (18:41 -0200)
committerRogério Brito <rbrito@ime.usp.br>
Tue, 18 Oct 2011 20:41:02 +0000 (18:41 -0200)
We said that we were trying to extract the title of the video.

youtube-dl

index f8e9095aee49bb1ff552eabff828388bc477b63d..f895658fbfbf79c699332ace64ab6c36028e7cbf 100755 (executable)
@@ -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'))