mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-14 21:27:34 +01:00
[noco] Switch to HTTPS (Closes #3116)
This commit is contained in:
parent
d763637f6a
commit
7724572519
@ -35,7 +35,7 @@ class NocoIE(InfoExtractor):
|
|||||||
video_id = mobj.group('id')
|
video_id = mobj.group('id')
|
||||||
|
|
||||||
medias = self._download_json(
|
medias = self._download_json(
|
||||||
'http://api.noco.tv/1.0/video/medias/%s' % video_id, video_id, 'Downloading video JSON')
|
'https://api.noco.tv/1.0/video/medias/%s' % video_id, video_id, 'Downloading video JSON')
|
||||||
|
|
||||||
formats = []
|
formats = []
|
||||||
|
|
||||||
@ -43,7 +43,7 @@ class NocoIE(InfoExtractor):
|
|||||||
format_id = fmt['quality_key']
|
format_id = fmt['quality_key']
|
||||||
|
|
||||||
file = self._download_json(
|
file = self._download_json(
|
||||||
'http://api.noco.tv/1.0/video/file/%s/fr/%s' % (format_id.lower(), video_id),
|
'https://api.noco.tv/1.0/video/file/%s/fr/%s' % (format_id.lower(), video_id),
|
||||||
video_id, 'Downloading %s video JSON' % format_id)
|
video_id, 'Downloading %s video JSON' % format_id)
|
||||||
|
|
||||||
file_url = file['file']
|
file_url = file['file']
|
||||||
@ -71,7 +71,7 @@ class NocoIE(InfoExtractor):
|
|||||||
self._sort_formats(formats)
|
self._sort_formats(formats)
|
||||||
|
|
||||||
show = self._download_json(
|
show = self._download_json(
|
||||||
'http://api.noco.tv/1.0/shows/show/%s' % video_id, video_id, 'Downloading show JSON')[0]
|
'https://api.noco.tv/1.0/shows/show/%s' % video_id, video_id, 'Downloading show JSON')[0]
|
||||||
|
|
||||||
upload_date = unified_strdate(show['indexed'])
|
upload_date = unified_strdate(show['indexed'])
|
||||||
uploader = show['partner_name']
|
uploader = show['partner_name']
|
||||||
|
Loading…
Reference in New Issue
Block a user