projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9339774
)
[spankbang] Fix title extraction (Closes #8329)
author
Sergey M․
<dstftw@gmail.com>
Wed, 27 Jan 2016 15:49:56 +0000
(21:49 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 27 Jan 2016 15:49:56 +0000
(21:49 +0600)
youtube_dl/extractor/spankbang.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/spankbang.py
b/youtube_dl/extractor/spankbang.py
index a67db59057d9b3d732899d016b8b87d1694236b9..3cfa671ed40722ceaa7da647a0b2bf0104a74de5 100644
(file)
--- 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)