projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e06e75c
)
[spankbang] Extend format id regex (Closes #8398)
author
Sergey M․
<dstftw@gmail.com>
Fri, 5 Feb 2016 16:16:12 +0000
(22:16 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 5 Feb 2016 16:16:12 +0000
(22:16 +0600)
youtube_dl/extractor/spankbang.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/spankbang.py
b/youtube_dl/extractor/spankbang.py
index 3cfa671ed40722ceaa7da647a0b2bf0104a74de5..b14c01230ae128323fb497c626afd1005062b62f 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|li
)[^>]+q
_(\d+)p', webpage)]
+ } for height in re.findall(r'<(?:span|li
|p)[^>]+[qb]
_(\d+)p', webpage)]
self._sort_formats(formats)
title = self._html_search_regex(