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

"USERNAME does not have any stories" Error #153

rourpab opened this issue Jul 25, 2018 · 3 comments


Copy link

commented Jul 25, 2018

I have noticed for certain users, notably private users.. Instaloader seems to not detect any stories, however viewing the profile of target username indicates otherwise.

Command: instaloader --login USERNAME --no-profile-pic --no-video-thumbnails --no-metadata-json --stories-only --fast-update TARGETPROFILE


This comment has been minimized.

Copy link

commented Jul 27, 2018

Can confirm. Happens to me as well.

Stories of Public accounts are downloaded fine but those of Private accounts don't.


This comment has been minimized.

Copy link

commented Jul 27, 2018

It seems as though has_highlight_reels is never true. (Which is used by has_viewable_story if not has_public_story.) I'm not even sure that highlight reels would be a valid indicator of story availability.
Profile._node gets a highlight_reel_count attribute by _obtain_metadata(), which is a numeric value of the number of "saved" / "highlighted" stories, that can be viewed past their expiration when one visits the profile page.
What the website seems to do when visiting is to send a GQL 7c16654f22c819fb63d1183034a5162f with {"user_id":"id", "include_chaining":True, "include_reel":True, "include_suggested_users":False, "include_logged_out_extras":False, "include_highlight_reels":True}, which might seem excessive to just figure out if stories are available.
I've tried various combinations of logged in / anonymous contexts, spoofing headers for the _iphone_struct, but havn't found a good way of getting a valid has_viewable_story

Private users stories can still be retrieved by instaloader --login ME :stories.

@aandergr aandergr added the bug label Jul 30, 2018
@Thammus Thammus closed this in 50a5330 Aug 2, 2018

This comment has been minimized.

Copy link

commented Aug 3, 2018

@Thammus Thank you so much for fixing this! ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
5 participants
You can’t perform that action at this time.