-
-
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
Instaloader.download_post(): ZeroDivisionError: integer division or modulo by zero #1085
Comments
Just curious, what's the point of using both |
Nothing really important, but it just asks the password if the session file is missing. |
How is this reproducible? |
There you go. |
Thanks. Also reproducible with: |
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. |
Mentioned post does not exist anymore. Is there any other post for which this error happens? |
@aandergr sorry about the delay. Got it again yesterday. |
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'm having the same issue. Seems like |
I too am having this issue. I have a large backlog of downloads and would like to continue downloading them but I can't since it keeps causing Instaloader to crash. Did anyone find a work around to this? |
Hi @skrull I cannot access your pastebin it says:
|
Implement check for post.mediacount before checking if posts have been downloaded.
I've attempted a fix for this issue #2214 |
version: 4.7.1
command line: instaloader --commit-mode --login=(stripped) --sessionfile session --no-posts --abort-on=302,400,429 --tagged user
[ 30] Traceback (most recent call last):
File "pvenv/bin/instaloader", line 8, in
sys.exit(main())
File "pvenv/lib/python3.8/site-packages/instaloader/main.py", line 445, in main
_main(loader,
File "pvenv/lib/python3.8/site-packages/instaloader/main.py", line 211, in _main
instaloader.download_profiles(profiles,
File "pvenv/lib/python3.8/site-packages/instaloader/instaloader.py", line 1274, in download_profiles
self.download_tagged(profile, fast_update=fast_update, post_filter=post_filter)
File "pvenv/lib/python3.8/site-packages/instaloader/instaloader.py", line 1119, in download_tagged
self.posts_download_loop(profile.get_tagged_posts(),
File "pvenv/lib/python3.8/site-packages/instaloader/instaloader.py", line 922, in posts_download_loop
downloaded = self.download_post(post, target=target)
File "pvenv/lib/python3.8/site-packages/instaloader/instaloader.py", line 618, in download_post
for i in range(self.slide_start % post.mediacount, self.slide_end % post.mediacount + 1)),
ZeroDivisionError: integer division or modulo by zero
The text was updated successfully, but these errors were encountered: