]> jfr.im git - yt-dlp.git/commitdiff
[skyitalia] removed arbitrary parameter
authornixxo <redacted>
Wed, 28 Oct 2020 16:04:36 +0000 (17:04 +0100)
committernixxo <redacted>
Wed, 28 Oct 2020 16:04:36 +0000 (17:04 +0100)
youtube_dlc/extractor/skyitalia.py

index d9c35c3a158688d62954f99a20d232234bfa5708..262701c6bca4e51fb0a857e7bf5b235e9dded5c2 100644 (file)
@@ -25,7 +25,7 @@ def _extract_video_id(self, url):
             return video_id
         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 = data_url.replace('{token}', token)
         video_data = self._parse_json(