projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1a8713
)
xvideos: Fix misleading error message when extracting the URL.
author
Rogério Brito
<rbrito@ime.usp.br>
Tue, 18 Oct 2011 20:41:02 +0000
(18:41 -0200)
committer
Rogé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
patch
|
blob
|
history
diff --git
a/youtube-dl
b/youtube-dl
index f8e9095aee49bb1ff552eabff828388bc477b63d..f895658fbfbf79c699332ace64ab6c36028e7cbf 100755
(executable)
--- 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'))