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

Does not download stories when --load-cookies is passed #2259

Closed
ekalin opened this issue May 13, 2024 · 1 comment · Fixed by #2263
Closed

Does not download stories when --load-cookies is passed #2259

ekalin opened this issue May 13, 2024 · 1 comment · Fixed by #2263
Labels
bug Bug

Comments

@ekalin
Copy link
Collaborator

ekalin commented May 13, 2024

Describe the bug
When --load-cookies is passed, stories are not downloaded, even if the loaded cookies provided a valid session (and the user is considered logged in).

To Reproduce
Steps to reproduce the behavior:
Log in using a browser

instaloder --stories --load-cookies firefox taylorswift

Expected behavior
Posts and stories should be downloaded.

Error messages and tracebacks
No error is reported, and posts are downloaded, but there's a warning at the start:

--login=USERNAME required to download stories.

Instaloader version
Using upcoming/4.12 branch.

Additional context
--load-cookies is an anternative to --login, so it should be considered when checking if stories are downloaded.
There might be other places where a similar problem happens.

@ekalin ekalin added the bug Bug label May 13, 2024
@ekalin
Copy link
Collaborator Author

ekalin commented May 13, 2024

I looked at the code and it seems that the only place where --load-cookies is not considered a login is for stories.

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

Successfully merging a pull request may close this issue.

1 participant