diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-01-27 21:49:56 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-01-27 21:49:56 +0600 |
commit | c3111ab34fed3af16f645c6ee4dcd6e5d35b69dd (patch) | |
tree | f3c4f45e105bb3312015f2ff1cfb4921d9e17f94 /youtube_dl/extractor | |
parent | 9339774af274b04a054b0fa151347619e40b5b21 (diff) |
[spankbang] Fix title extraction (Closes #8329)
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r-- | youtube_dl/extractor/spankbang.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/spankbang.py b/youtube_dl/extractor/spankbang.py index a67db5905..3cfa671ed 100644 --- a/youtube_dl/extractor/spankbang.py +++ b/youtube_dl/extractor/spankbang.py @@ -38,7 +38,7 @@ class SpankBangIE(InfoExtractor): self._sort_formats(formats) title = self._html_search_regex( - r'(?s)<h1>(.+?)</h1>', webpage, 'title') + r'(?s)<h1[^>]*>(.+?)</h1>', webpage, 'title') description = self._search_regex( r'class="desc"[^>]*>([^<]+)', webpage, 'description', default=None) |