mirror of
https://github.com/KevinMidboe/spotify-downloader.git
synced 2025-12-08 20:39:08 +00:00
Prefer secure HTTPS by default
This commit is contained in:
@@ -43,3 +43,6 @@ class PatchPafy:
|
||||
def patch_process_streams(self):
|
||||
backend_youtube_dl.YtdlPafy._old_process_streams = backend_youtube_dl.YtdlPafy._process_streams
|
||||
backend_youtube_dl.YtdlPafy._process_streams = _process_streams
|
||||
|
||||
def patch_insecure_streams(self):
|
||||
pafy.g.def_ydl_opts["prefer_insecure"] = False
|
||||
|
||||
Reference in New Issue
Block a user