remove m3u8 extraction
The extraction of m3u8 fails most of the time
This commit is contained in:
parent
02d072a1d2
commit
4a70c0af53
@ -91,9 +91,10 @@ class SnagFilmsIE(InfoExtractor):
|
|||||||
|
|
||||||
formats = []
|
formats = []
|
||||||
for source in sources:
|
for source in sources:
|
||||||
if source['type'] == 'm3u8':
|
if source['type'] != 'm3u8':
|
||||||
formats.extend(self._extract_m3u8_formats(source['file'], video_id))
|
# The extraction of m3u8 fails most of the time
|
||||||
else:
|
# formats.extend(self._extract_m3u8_formats(source['file'], video_id))
|
||||||
|
# else:
|
||||||
formats.append({'url': source['file'],'ext': source['type'], 'resolution': source['label']})
|
formats.append({'url': source['file'],'ext': source['type'], 'resolution': source['label']})
|
||||||
self._sort_formats(formats)
|
self._sort_formats(formats)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user