[GH-ISSUE #70] Pbar math for names/req is wrong #52

Closed
opened 2026-02-27 20:05:10 +03:00 by kerem · 2 comments
Owner

Originally created by @tomballgithub on GitHub (Feb 21, 2026).
Original GitHub issue: https://github.com/misiektoja/instagram_monitor/issues/70

I'll look at this, but documenting here. Nothing jumped out at me from a first pass looking at the code

After the first request downloads the first 12 names, the first pbar update shows 12/4454 (correct), reqs 1 (correct), but 0.0 names/req (should be 12). And the names/req is off for each calculation after that.

Looks like 'remain' of 0.0 is also incorrect. It clearly thinks names fetched is 0

* Downloading Followings:   0%|                           | 12/4454 [0.0 names/req, reqs=1, mins=0.1, remain=0.0]
* Downloading Followings:   1%|▏                         | 24/4454 [6.0 names/req, reqs=2, mins=0.2, remain=33.4]
Originally created by @tomballgithub on GitHub (Feb 21, 2026). Original GitHub issue: https://github.com/misiektoja/instagram_monitor/issues/70 I'll look at this, but documenting here. Nothing jumped out at me from a first pass looking at the code After the first request downloads the first 12 names, the first pbar update shows 12/4454 (correct), reqs 1 (correct), but 0.0 names/req (should be 12). And the names/req is off for each calculation after that. Looks like 'remain' of 0.0 is also incorrect. It clearly thinks names fetched is 0 ``` * Downloading Followings: 0%| | 12/4454 [0.0 names/req, reqs=1, mins=0.1, remain=0.0] * Downloading Followings: 1%|▏ | 24/4454 [6.0 names/req, reqs=2, mins=0.2, remain=33.4] ```
kerem 2026-02-27 20:05:10 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@tomballgithub commented on GitHub (Feb 21, 2026):

Fixed with PR #69

<!-- gh-comment-id:3939298046 --> @tomballgithub commented on GitHub (Feb 21, 2026): Fixed with PR #69
Author
Owner

@tomballgithub commented on GitHub (Feb 24, 2026):

Fixed now that PR is checked in

<!-- gh-comment-id:3948349276 --> @tomballgithub commented on GitHub (Feb 24, 2026): Fixed now that PR is checked in
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/instagram_monitor#52
No description provided.