Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to load_session_from_file, but it's looking in /var/folders/... #2228

Open
maxiedaniels opened this issue Apr 11, 2024 · 0 comments
Open
Labels
bug Bug

Comments

@maxiedaniels
Copy link

So, i had the issue where i was getting a wrong password error, so i tried the firefox session cookie import snippet in the docs, which resulted in this:
Saved session to /Users/myusername/.config/instaloader/session-myuser.

Now i do:

L = instaloader.Instaloader(download_pictures=False, download_videos=False, download_video_thumbnails=False, download_comments=False)
L.load_session_from_file("/Users/myusername/.config/instaloader/session-myuser")

But i get this error:
FileNotFoundError: [Errno 2] No such file or directory: '/var/folders/05/bzkf04vj585f_nw3nqbzhy0m0000gn/t/.instaloader-myusername/session-/users/myusername/.config/instaloader/session-myuser'

Seems like a bug to me, as I'm using a full path and it's looking in /var/folders...

@maxiedaniels maxiedaniels added the bug Bug label Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug
Projects
None yet
Development

No branches or pull requests

1 participant