commit 9339774af274b04a054b0fa151347619e40b5b21
parent b0d21deda95e7e49e162c12aa305f27e477e0ce9
Author: Sergey M․ <dstftw@gmail.com>
Date: Wed, 27 Jan 2016 21:49:39 +0600
[spankbang] Fix formats extraction
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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(