1
0
Fork 0
mirror of https://codeberg.org/polarisfm/youtube-dl.git synced 2024-12-26 01:26:45 +00:00

xvideos: Capture only the video title, not the name of the site.

This commit is contained in:
Rogério Brito 2011-10-18 18:42:01 -02:00
parent 9f47175a40
commit 0f9b77223e

View file

@ -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: if mobj is None:
self._downloader.trouble(u'ERROR: unable to extract video title') self._downloader.trouble(u'ERROR: unable to extract video title')
return return