From: Sergey M․ Date: Wed, 9 Aug 2017 16:46:49 +0000 (+0700) Subject: [xxxymovies] Fix title extraction (closes #13868) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=baba5f4d1daa29c42b2ad56c06e3880f10b7b03d;p=youtube-dl [xxxymovies] Fix title extraction (closes #13868) --- diff --git a/youtube_dl/extractor/xxxymovies.py b/youtube_dl/extractor/xxxymovies.py index 5c8f17eb2..e34ebe3a6 100644 --- a/youtube_dl/extractor/xxxymovies.py +++ b/youtube_dl/extractor/xxxymovies.py @@ -39,8 +39,8 @@ class XXXYMoviesIE(InfoExtractor): r"video_url\s*:\s*'([^']+)'", webpage, 'video URL') title = self._html_search_regex( - [r'
\s*

([^<]+)

', - r'(.*?)\s*-\s*XXXYMovies\.com'], + [r']+\bclass="block_header"[^>]*>\s*

([^<]+)<', + r'(.*?)\s*-\s*(?:XXXYMovies\.com|XXX\s+Movies)'], webpage, 'title') thumbnail = self._search_regex(