-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Only downloads the first 150 profiles it sees with :story. #724
Comments
Might be the same thing as with #204. How many stories are available through the website? If only the first 150 are visible on the site you'd have to resort to |
Oh I see, yeah, only the first 150 are available on the website. I did try to use the combo that downloads only stories and only of the people you follow, but it kept hitting the rate limit and it seems like it wasn't doing anything, since after 2 hours it was still stuck in the same place. Here's the command that I used for reference, there doesn't seem to be anything wrong with it right? I was thinking that a way this could be solved is that while downloading the initial 150, there's an option to mark them as read and restart, so that you're able to access the fresh new unread ones. :stories is so so much faster than --stories --no-posts so I think that would be the best for efficiency. |
Your command looks fine, but with many followees I get that is might take too long. |
Alright, thank you! I'll give it a try and report back. EDIT: Guess I'll try later, 500 error for now. |
Hm, seems that it's repeating trying to get existing media since it's not marking as seen on some, or it's just not working, since when I go on the website and on the app it still looks like it hasn't been marked as seen, though it did work for others, maybe there's a rate limit? On the app when I went through the stories it marked them correctly, so not sure what's up. Ah actually that might be it, the website isn't updating the read status anymore. Maybe it'd be better to only mark the latest story as viewed, so that you don't send that many requests? If you mark the latest as viewed it marks the ones before as well. If possible, maybe it would also be good to skip attempting to download stories from profiles that have all been viewed? |
Instaloder downloads stories regardless of their Ultimately I don't think this can be solved seamlessly, best case is to mark downloaded as seen, and have the IG servers showing another 150 on the next invocation of |
That's true, so I don't think it should be by default either, but I think an option would be helpful since seeing Instaloader trying to download a profile again and just saying "exists" on the latest post is inefficient. On the website the profiles that don't have any new stories have a grey outline, so maybe if Instaloader sees that it just ignores them completely, with say --skip-all-seen? So instead of trying all 150 profiles, it only tries the ones with new stories. EDIT: Ah! I was able to do what I wanted. I put |
There has been no activity on this issue for an extended period of time. This issue will be closed after further 14 days of inactivity. |
I think it would be good to add these changes into the official branch, since I've been running this setup for months and haven't had any issues. EDIT: I can submit a pull request if need be. |
Fixes efficiency of the download_profiles() function when called with --no-posts --no-profile-pic by reordering an if statement. This inefficiency has been reported in #724. Co-authored-by: André Koch-Kramer <koch-kramer@web.de>
Describe the bug
When you use :story to download all the stories from all the profiles you follow, it only gets the first 150.
To Reproduce
Try to use the :story target and see that it misses accounts that are past the initial 150.
Expected behavior
I expected all the profile's stories to be downloaded, not just the first 150 it can see.
Error messages and tracebacks
No error message, it just says it's complete.
Instaloader version
4.4.4
Additional context
I'm following around 1.5k accounts, so maybe that's why it's having trouble downloading all the stories for all those profiles.
The text was updated successfully, but these errors were encountered: