aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/xxxymovies.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-08-09 23:46:49 +0700
committerSergey M․ <dstftw@gmail.com>2017-08-09 23:46:49 +0700
commitbaba5f4d1daa29c42b2ad56c06e3880f10b7b03d (patch)
tree7590d0e03789dbca9aa2d2839171362bb38daba8 /youtube_dl/extractor/xxxymovies.py
parentdee04d24a422c0ea5586d2f1d1f97f1e3e4ecf70 (diff)
[xxxymovies] Fix title extraction (closes #13868)
Diffstat (limited to 'youtube_dl/extractor/xxxymovies.py')
-rw-r--r--youtube_dl/extractor/xxxymovies.py4
1 files changed, 2 insertions, 2 deletions
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'<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(