Plugin cleanup and tweaks
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
# coding: utf-8
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import re
|
||||
|
||||
from .common import InfoExtractor
|
||||
@@ -111,10 +108,7 @@ class TVNetIE(InfoExtractor):
|
||||
continue
|
||||
stream_urls.add(stream_url)
|
||||
formats.extend(self._extract_m3u8_formats(
|
||||
stream_url, video_id, 'mp4',
|
||||
entry_protocol='m3u8' if is_live else 'm3u8_native',
|
||||
m3u8_id='hls', fatal=False))
|
||||
self._sort_formats(formats)
|
||||
stream_url, video_id, 'mp4', live=is_live, m3u8_id='hls', fatal=False))
|
||||
|
||||
# better support for radio streams
|
||||
if title.startswith('VOV'):
|
||||
|
||||
Reference in New Issue
Block a user