]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/xxxymovies.py
New upstream version 2017.10.15.1
[youtubedl] / youtube_dl / extractor / xxxymovies.py
index 5c8f17eb2fa1c3bb12924ca189699181eb2b598e..e34ebe3a6612264815295dfe043f0eca1f5b2dcc 100644 (file)
@@ -39,8 +39,8 @@ class XXXYMoviesIE(InfoExtractor):
             r"video_url\s*:\s*'([^']+)'", webpage, 'video URL')
 
         title = self._html_search_regex(
-            [r'<div class="block_header">\s*<h1>([^<]+)</h1>',
-             r'<title>(.*?)\s*-\s*XXXYMovies\.com</title>'],
+            [r'<div[^>]+\bclass="block_header"[^>]*>\s*<h1>([^<]+)<',
+             r'<title>(.*?)\s*-\s*(?:XXXYMovies\.com|XXX\s+Movies)</title>'],
             webpage, 'title')
 
         thumbnail = self._search_regex(