Skip to content

Commit

Permalink
instagram cookie fix tgbot-collection#189
Browse files Browse the repository at this point in the history
  • Loading branch information
BennyThink committed Jan 20, 2023
1 parent d874416 commit d9eb049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ytdlbot/downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"):
Expand Down

0 comments on commit d9eb049

Please sign in to comment.