projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xvideos: Capture only the video title, not the name of the site.
[youtube-dl]
/
youtube-dl
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
# 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
if mobj is None:
self._downloader.trouble(u'ERROR: unable to extract video title')
return