From: Sergey M․ Date: Wed, 27 Jan 2016 15:49:56 +0000 (+0600) Subject: [spankbang] Fix title extraction (Closes #8329) X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=c3111ab34fed3af16f645c6ee4dcd6e5d35b69dd;p=youtube-dl [spankbang] Fix title extraction (Closes #8329) --- 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)

(.+?)

', webpage, 'title') + r'(?s)]*>(.+?)', webpage, 'title') description = self._search_regex( r'class="desc"[^>]*>([^<]+)', webpage, 'description', default=None)