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