mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-19 14:49:15 +00:00
[clipfish] Remove unused import and style fix
This commit is contained in:
parent
2a63b0f110
commit
55bec9b658
|
@ -1,7 +1,5 @@
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
import re
|
|
||||||
|
|
||||||
from .common import InfoExtractor
|
from .common import InfoExtractor
|
||||||
from ..utils import (
|
from ..utils import (
|
||||||
int_or_none,
|
int_or_none,
|
||||||
|
@ -34,7 +32,7 @@ def _real_extract(self, url):
|
||||||
'url': video_info['media_videourl_hls'].replace('de.hls.fra.clipfish.de', 'hls.fra.clipfish.de'),
|
'url': video_info['media_videourl_hls'].replace('de.hls.fra.clipfish.de', 'hls.fra.clipfish.de'),
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'format_id': 'hls',
|
'format_id': 'hls',
|
||||||
},{
|
}, {
|
||||||
'url': video_info['media_videourl'],
|
'url': video_info['media_videourl'],
|
||||||
'format_id': 'mp4',
|
'format_id': 'mp4',
|
||||||
'width': int_or_none(video_info.get('width')),
|
'width': int_or_none(video_info.get('width')),
|
||||||
|
|
Loading…
Reference in a new issue