Skip to content

Commit

Permalink
Update cookies.py
Browse files Browse the repository at this point in the history
  • Loading branch information
new92 authored Nov 11, 2023
1 parent dfe53a9 commit 1fbd526
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookies.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def import_session(cookiefile, sessionfile):
username = instaloader.test_login()
if not username:
raise SystemExit("Not logged in. Are you logged in successfully in Firefox?")
print("Imported session cookie for {}.".format(username))
print(f"[✓] Imported session cookie for {username}.")
instaloader.context.username = username
instaloader.save_session_to_file(sessionfile)

Expand Down

0 comments on commit 1fbd526

Please sign in to comment.