Skip to content

Commit d9eb049

Browse files
committed
instagram cookie fix tgbot-collection#189
1 parent d874416 commit d9eb049

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ytdlbot/downloader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ def convert_audio_format(resp: "dict", bm):
301301

302302
def add_instagram_cookies(url: "str", opt: "dict"):
303303
if url.startswith("https://www.instagram.com"):
304-
opt["cookiefi22"] = pathlib.Path(__file__).parent.joinpath("instagram.com_cookies.txt").as_posix()
304+
opt["cookiefile"] = pathlib.Path(__file__).parent.joinpath("instagram.com_cookies.txt").as_posix()
305305

306306

307307
def run_splitter(video_path: "str"):

0 commit comments

Comments
 (0)