aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-01-27 21:49:39 +0600
committerSergey M․ <dstftw@gmail.com>2016-01-27 21:49:39 +0600
commit9339774af274b04a054b0fa151347619e40b5b21 (patch)
tree506e5fd986bc2ea66dbac0fdb33370d4f63766be
parentb0d21deda95e7e49e162c12aa305f27e477e0ce9 (diff)
[spankbang] Fix formats extraction
-rw-r--r--youtube_dl/extractor/spankbang.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/spankbang.py b/youtube_dl/extractor/spankbang.py
index 7f060b15b..a67db5905 100644
--- 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(