projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[common] _parse_dash_manifest() from youtube.py
[youtube-dl]
/
youtube_dl
/
extractor
/
spankbang.py
diff --git
a/youtube_dl/extractor/spankbang.py
b/youtube_dl/extractor/spankbang.py
index 7f060b15b69908a71ff45a44f13e92ab0089ff5b..3cfa671ed40722ceaa7da647a0b2bf0104a74de5 100644
(file)
--- a/
youtube_dl/extractor/spankbang.py
+++ b/
youtube_dl/extractor/spankbang.py
@@
-34,11
+34,11
@@
class SpankBangIE(InfoExtractor):
'ext': 'mp4',
'format_id': '%sp' % height,
'height': int(height),
'ext': 'mp4',
'format_id': '%sp' % height,
'height': int(height),
- } for height in re.findall(r'<
span
[^>]+q_(\d+)p', webpage)]
+ } for height in re.findall(r'<
(?:span|li)
[^>]+q_(\d+)p', webpage)]
self._sort_formats(formats)
title = self._html_search_regex(
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)
description = self._search_regex(
r'class="desc"[^>]*>([^<]+)',
webpage, 'description', default=None)