You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for your amazing project, it's very helpful.
Description
I get the following error:
Traceback (most recent call last):
File "C:\Users\Menna\Desktop\funny\memes\delete.py", line 66, in <module>
for url in pbar(data):
File "C:\Users\Menna\AppData\Local\Programs\Python\Python310\lib\site-packages\progressbar\bar.py", line 550, in __next__
self.update(self.value + 1)
File "C:\Users\Menna\AppData\Local\Programs\Python\Python310\lib\site-packages\progressbar\bar.py", line 661, in update
raise ValueError(
ValueError: Value 40 is out of range, should be between 0 and 39
Code
Save the code below as main.py https://pastebin.com/xrm7kZkU
Run the following command: main.py -u tiredarabwoman -from 20220126
After a minute, you'll get this prompt: 2 deleted Tweets have been found. Would you like to download them all? Type yes or no.
Type yes and press Enter. You should get the error above.
Versions
Python version: 3.10.0
Python distribution/environment: Command Prompt
Operating System: Windows 10
Package version: 4.0.0
Thank you again.
The text was updated successfully, but these errors were encountered:
I'm really sorry for the slow response... I didn't see this issue. It seems the pastebin has been removed in the mean time, but I can think of 2 scenarios where this can happen:
An off-by-1 error. A range(40) returns 0 to 39 which does not include 40.
The maximum value grows during iteration. In that case you can disable the error using the max_error=False parameter to the progressbar :)
Hello WoLpH, I hope you are doing well.
Thank you for your amazing project, it's very helpful.
Description
I get the following error:
Code
Save the code below as
main.py
https://pastebin.com/xrm7kZkU
Install waybackpack (GitHub repo)
pip install waybackpack
Run the following command:
main.py -u tiredarabwoman -from 20220126
After a minute, you'll get this prompt:
2 deleted Tweets have been found. Would you like to download them all? Type yes or no.
Type yes and press Enter. You should get the error above.
Versions
Thank you again.
The text was updated successfully, but these errors were encountered: