Browse Source

[spankbang] Fix formats extraction

master
Sergey M․ 9 years ago
parent
commit
9339774af2
1 changed files with 1 additions and 1 deletions
  1. 2
      youtube_dl/extractor/spankbang.py

2
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(

Loading…
Cancel
Save