about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRogério Brito <rbrito@ime.usp.br>2011-10-18 18:41:02 -0200
committerRogério Brito <rbrito@ime.usp.br>2011-10-18 18:41:02 -0200
commit9f47175a405a8685463a6bc719e09359c0f7c5c1 (patch)
tree9c3d9514d9d86a66cc55f2e4f9e075a0202f0278
parenta1a8713aadd48e32f8c53a1d8e673a2fdd4b91bc (diff)
downloadyoutube-dl-9f47175a405a8685463a6bc719e09359c0f7c5c1.tar.gz
youtube-dl-9f47175a405a8685463a6bc719e09359c0f7c5c1.tar.xz
youtube-dl-9f47175a405a8685463a6bc719e09359c0f7c5c1.zip
xvideos: Fix misleading error message when extracting the URL.
We said that we were trying to extract the title of the video.
-rwxr-xr-xyoutube-dl2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube-dl b/youtube-dl
index f8e9095ae..f895658fb 100755
--- a/youtube-dl
+++ b/youtube-dl
@@ -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'))