mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-22 16:44:32 +01:00
Remove unused import
This commit is contained in:
parent
c06ca8dcc9
commit
2ca5809c1d
@ -3,7 +3,6 @@ from __future__ import unicode_literals
|
||||
|
||||
from .common import InfoExtractor
|
||||
from ..utils import (
|
||||
ExtractorError,
|
||||
urljoin,
|
||||
int_or_none,
|
||||
url_or_none,
|
||||
@ -43,8 +42,8 @@ class EarthCamIE(InfoExtractor):
|
||||
webpage = self._download_webpage(url, video_id)
|
||||
json_str = self._html_search_regex(r'var\s+json_base\s*=\s*(?P<json_str>{\s*"cam"\s*:\s*{.*}.*});', webpage, 'json', group='json_str', default='{}')
|
||||
json_base = self._parse_json(js_to_json(json_str), video_id)
|
||||
|
||||
video_info = jsonn_base['cam'][video_id]
|
||||
|
||||
video_info = json_base['cam'][video_id]
|
||||
domain = video_info['html5_streamingdomain']
|
||||
path = video_info['html5_streampath']
|
||||
m3u8_url = urljoin(domain, path)
|
||||
|
Loading…
Reference in New Issue
Block a user