projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58ae243
)
[spankbang] Check formats (#8398)
author
Sergey M․
<dstftw@gmail.com>
Fri, 5 Feb 2016 16:16:40 +0000
(22:16 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Fri, 5 Feb 2016 16:16:40 +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 b14c01230ae128323fb497c626afd1005062b62f..6299bfd9187b2e8085c72a502ac3b6cf83036654 100644
(file)
--- a/
youtube_dl/extractor/spankbang.py
+++ b/
youtube_dl/extractor/spankbang.py
@@
-35,6
+35,7
@@
class SpankBangIE(InfoExtractor):
'format_id': '%sp' % height,
'height': int(height),
} for height in re.findall(r'<(?:span|li|p)[^>]+[qb]_(\d+)p', webpage)]
+ self._check_formats(formats, video_id)
self._sort_formats(formats)
title = self._html_search_regex(