1
0
Fork 0
mirror of https://github.com/blackjack4494/yt-dlc.git synced 2024-12-22 07:43:08 +00:00

[skyitalia] removed arbitrary parameter

This commit is contained in:
nixxo 2020-10-28 17:04:36 +01:00
parent c3c18d7b8a
commit 0b72c2bc31

View file

@ -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(