mirror of
https://github.com/blackjack4494/yt-dlc.git
synced 2024-08-18 16:29:43 +02:00
[skyitalia] removed arbitrary parameter
This commit is contained in:
parent
c3c18d7b8a
commit
0b72c2bc31
@ -25,7 +25,7 @@ class SkyItaliaBaseIE(InfoExtractor):
|
|||||||
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