projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f47175
)
xvideos: Capture only the video title, not the name of the site.
author
Rogério Brito
<rbrito@ime.usp.br>
Tue, 18 Oct 2011 20:42:01 +0000
(18:42 -0200)
committer
Rogério Brito
<rbrito@ime.usp.br>
Tue, 18 Oct 2011 20:42:01 +0000
(18:42 -0200)
youtube-dl
patch
|
blob
|
history
diff --git
a/youtube-dl
b/youtube-dl
index f895658fbfbf79c699332ace64ab6c36028e7cbf..6770678d2d4c4a655ea46e547bfd0e3169f00969 100755
(executable)
--- a/
youtube-dl
+++ b/
youtube-dl
@@
-3432,7
+3432,7
@@
class XVideosIE(InfoExtractor):
# Extract title
- mobj = re.search(r'<title>(.*?)
</title>
', webpage)
+ mobj = re.search(r'<title>(.*?)
\s+-\s+XVID
', webpage)
if mobj is None:
self._downloader.trouble(u'ERROR: unable to extract video title')
return