From 0f9b77223e92a25eb1f4a626efcd7ff76beb9841 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rog=C3=A9rio=20Brito?= Date: Tue, 18 Oct 2011 18:42:01 -0200 Subject: [PATCH] xvideos: Capture only the video title, not the name of the site. --- youtube-dl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube-dl b/youtube-dl index f895658fb..6770678d2 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 -- 2.22.2