From: atomic83 Date: Fri, 8 Jan 2016 11:58:05 +0000 (+0100) Subject: Extract xHamster title fix X-Git-Url: http://git.bitcoin.ninja/index.cgi?p=youtube-dl;a=commitdiff_plain;h=5777f5d386d14407a19bc86c31e0bf2b5ae4a87f Extract xHamster title fix --- diff --git a/youtube_dl/extractor/xhamster.py b/youtube_dl/extractor/xhamster.py index 8938c0e45..261d323a7 100644 --- a/youtube_dl/extractor/xhamster.py +++ b/youtube_dl/extractor/xhamster.py @@ -65,7 +65,7 @@ class XHamsterIE(InfoExtractor): title = self._html_search_regex( [r'(?P<title>.+?)(?:, (?:[^,]+? )?Porn: xHamster| - xHamster\.com)', - r'

([^<]+)

'], webpage, 'title') + r'([^<]+)'], webpage, 'title') # Only a few videos have an description mobj = re.search(r'Description: ([^<]+)', webpage)