From c3111ab34fed3af16f645c6ee4dcd6e5d35b69dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergey=20M=E2=80=A4?= Date: Wed, 27 Jan 2016 21:49:56 +0600 Subject: [PATCH] [spankbang] Fix title extraction (Closes #8329) --- youtube_dl/extractor/spankbang.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ def _real_extract(self, url): 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)