kelciour / batch-download-pictures-from-google-images

7 stars 5 forks source link

Too many requests #29

Open slabzzz opened 5 months ago

slabzzz commented 5 months ago

While adding 2000 cloze cards, I get stuck near the middle. My anki windows are unclickable and need to force quit afterwards. I added 2 newlines to append option if that matters. Also oddly it says "sleeping for 30,60,90..... seconds" after starting. My settings:

image

Anki 23.12.1 (1a1d4d54) (ao) Python 3.9.15 Qt 6.5.3 PyQt 6.5.3 Platform: macOS-13.3.1-arm64-arm-64bit

Traceback (most recent call last): File "/Users/DaniDevito/Library/Application Support/Anki2/addons21/561924305/init.py", line 434, in a.triggered.connect(lambda _, b=browser: onAddImages(b)) File "/Users/DaniDevito/Library/Application Support/Anki2/addons21/561924305/init.py", line 427, in onAddImages updateNotes(browser, nids) File "/Users/DaniDevito/Library/Application Support/Anki2/addons21/561924305/init.py", line 369, in updateNotes r.raise_for_status() File "requests.models", line 1021, in raise_for_status requests.exceptions.HTTPError: 429 Client Error: Too Many Requests for url: https://www.google.com/sorry/index?continue=https://www.google.com/search%3Fq%3DParts%2Bof%2Ba%2Bhabit:%26safe%3Dactive%26ie%3Dutf8%26oe%3Dutf8%26ucbcb%3D1%26udm%3D2&q=EhAmA4ABE_BRgKn4tl7-vdYAGI3qsLAGIjAUqQVLxmxDiTTSL_1LFTXRkjgc6-yIwXXSP2AhZgZo7SWXubAU2xR0KOWAY2GrD0syBWpjbmRyWgFD

===Add-ons (active)=== (add-on provided name [Add-on folder, installed at, version, is config changed]) AwesomeTTS - Add speech to your flashcards ['1436550454', 2024-02-08T22:42, 'None', ''] Batch Download Pictures From Google Images ['561924305', 2024-02-21T09:38, 'None', mod] Batch Editing ['291119185', 2023-10-25T17:38, 'None', '']

===IDs of active AnkiWeb add-ons=== 1436550454 291119185 561924305

===Add-ons (inactive)=== (add-on provided name [Add-on folder, installed at, version, is config changed]) HyperTTS - Add speech to your flashcards ['111623432', 2024-02-10T04:02, 'None', mod]