projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0d21de
)
[spankbang] Fix formats extraction
author
Sergey M․
<dstftw@gmail.com>
Wed, 27 Jan 2016 15:49:39 +0000
(21:49 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 27 Jan 2016 15:49:39 +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 7f060b15b69908a71ff45a44f13e92ab0089ff5b..a67db59057d9b3d732899d016b8b87d1694236b9 100644
(file)
--- a/
youtube_dl/extractor/spankbang.py
+++ b/
youtube_dl/extractor/spankbang.py
@@
-34,7
+34,7
@@
class SpankBangIE(InfoExtractor):
'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(