mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-08 04:02:40 +01:00
[skyitalia] removed arbitrary parameter
This commit is contained in:
parent
c3c18d7b8a
commit
0b72c2bc31
@ -25,7 +25,7 @@ def _extract_video_id(self, url):
|
|||||||
return video_id
|
return video_id
|
||||||
raise ExtractorError('Video ID not found.')
|
raise ExtractorError('Video ID not found.')
|
||||||
|
|
||||||
def _get_formats(self, video_id, token=_TOKEN):
|
def _get_formats(self, video_id, token):
|
||||||
data_url = self._GET_VIDEO_DATA.replace('{id}', video_id)
|
data_url = self._GET_VIDEO_DATA.replace('{id}', video_id)
|
||||||
data_url = data_url.replace('{token}', token)
|
data_url = data_url.replace('{token}', token)
|
||||||
video_data = self._parse_json(
|
video_data = self._parse_json(
|
||||||
|
Loading…
Reference in New Issue
Block a user