From d9eb0490c5862d3f5590efb0d549e1e318d4233b Mon Sep 17 00:00:00 2001 From: Benny Date: Fri, 20 Jan 2023 20:01:22 +0100 Subject: [PATCH] instagram cookie fix #189 --- ytdlbot/downloader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ytdlbot/downloader.py b/ytdlbot/downloader.py index 693ff0fc..a829d8c5 100644 --- a/ytdlbot/downloader.py +++ b/ytdlbot/downloader.py @@ -301,7 +301,7 @@ def convert_audio_format(resp: "dict", bm): def add_instagram_cookies(url: "str", opt: "dict"): if url.startswith("https://www.instagram.com"): - opt["cookiefi22"] = pathlib.Path(__file__).parent.joinpath("instagram.com_cookies.txt").as_posix() + opt["cookiefile"] = pathlib.Path(__file__).parent.joinpath("instagram.com_cookies.txt").as_posix() def run_splitter(video_path: "str"):