diff options
| author | Rogério Brito <rbrito@ime.usp.br> | 2011-10-18 18:42:01 -0200 | 
|---|---|---|
| committer | Rogério Brito <rbrito@ime.usp.br> | 2011-10-18 18:42:01 -0200 | 
| commit | 0f9b77223e92a25eb1f4a626efcd7ff76beb9841 (patch) | |
| tree | ee38c3eadb77065c42fc51b9c4c6be42a3d18895 | |
| parent | 9f47175a405a8685463a6bc719e09359c0f7c5c1 (diff) | |
xvideos: Capture only the video title, not the name of the site.
| -rwxr-xr-x | youtube-dl | 2 | 
1 files changed, 1 insertions, 1 deletions
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'<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  | 
