From: Rogério Brito Date: Tue, 18 Oct 2011 20:42:01 +0000 (-0200) Subject: xvideos: Capture only the video title, not the name of the site. X-Git-Url: http://git.jankratochvil.net/?p=youtube-dl.git;a=commitdiff_plain;h=0f9b77223e92a25eb1f4a626efcd7ff76beb9841 xvideos: Capture only the video title, not the name of the site. --- diff --git a/youtube-dl b/youtube-dl index f895658..6770678 100755 --- a/youtube-dl +++ b/youtube-dl @@ -3432,7 +3432,7 @@ class XVideosIE(InfoExtractor): # Extract title - mobj = re.search(r'(.*?)', webpage) + mobj = re.search(r'(.*?)\s+-\s+XVID', webpage) if mobj is None: self._downloader.trouble(u'ERROR: unable to extract video title') return