Bỏ qua đến nội dung

🖼️Quick Images Downloader - Bulk download images Google API (Created by Shigeඞ)

Chờ xử lý #anki #addon #quick #images #downloader #bulk #download
https://forums.ankiweb.net/t/add-on-support-thread-bulk-image-downloader-for-anki-googleapi-webp-dur
22/6/2025

Cách tải addon 🖼️Quick Images Downloader - Bulk download images Google API (Created by Shigeඞ)

Bạn có thể tải addon bằng một trong hai cách sau:

Click nút Copy bên dưới để copy code vào clipboard

8280891

Sau đó mở Anki → Tools → Add-ons → Get Add-ons → Dán code → OK

Mở trang addon trên AnkiWeb và tìm mã code ở cuối trang

Mở trên AnkiWeb

Cuộn xuống cuối trang AnkiWeb, tìm dòng có mã code 8280891 và copy

13
1

Mô tả chi tiết

This add-on is for downloading images in batches and adding them to the cards, and quickly and automatically add images in the reviewer. Images are converted to webp, resized, and animated gifs are downloadable. Free Google Custom Search API and Google Search Engine ID are required.

It was created with reference to Batch Image downloader and the idea was inspired by Batch Download Pictures From Google Images, and Paste Images As WebP.

[ 🎯What it’s used for? ]

Add images to many cards at once. Quickly add images to cards during reviews. Quickly add images when creating or editing cards.

[ 🦾How Add-on Works ]

Grabs text from selected notes field.

Downloads images using Google Custom Search API and Google Search Engine ID.

Auto convert to webp if the image is Jpg and Png.

Resizes the image to 250px and saves it.

[📖 How To Use ]

[1] The API and ID are essential for this add-on to work. Please obtain from these pages (Free).

Google Custom Search API Google Search Engine ID If you don’t know how to get the API please read this: google custom-search

[2] Add-ons can be executed from these menus.

Browser’s Edit, Card, Note, and Right-Click menus. Buttons in the editor (marked by my icon). Reviewer’s More button.

[3] Other Features

Memorize source and target fields for each note type. There are 8 buttons to quickly switch between search syntaxes. There is a window for editing the search syntax. Customizable images size. There is a window for editing source and target fields for all note types. Press the Minimalist button to reduce the size of the window display. Search Query yarnGif -> for English learners. Get Gif animations of movie phrases. While downloading, quotes are randomly displayed in the window :-P

[ 🔍️ Google Custom Search API ]

Up to 10 images can be added to one note( 10 images/ 1 Query). Free API is limited to 100 Queries/per day. 1 note -> 1 Query. 10 Images/1note -> 1 Query. Queries are also consumed if the search fails. The paid GoogleAPI removes the limitation, it’s $5 per 1000 queries. Maximum 10k/day. If you exceed the daily limit, you will just not be able to download it. Free API resets the next day (US time) Perhaps if you have several Google accounts, you can get multiple APIs for free.

[ 🆔Google Search Engine ID ]

Please enable image search when you get the ID. Name your search engine -> Any name you like. What to search? -> Seearch the entire web[ON] Search settings -> Image search[ON]

[ 📌Notes ]

Only one note type can be selected at a time. It takes at least 1 second to download one image. Downloading large amounts at once from one site may block your IP. Use at your own risk. I recommend backing up your decks before using it. There is no function to remove duplicate images. Search Query and Image Number will not be saved for each note type. Images can be specified in width pixels only, height is not created. If the image is small, it will be enlarged. If set to 0, the image will be the original size. Resizing is executed after the original image has been downloaded.

[ Q & A ]

Q . Why need API and ID? To stabilize searches and make add-ons easier to manage (Google prohibits scraping, so add-ons are more fragile). If you use the paid API, you can add images to 10,000 notes and 100,000 images at once in a day🦾 If you make your own cards, I think 100 notes per day(Free API) is sufficient.

Q . Can’t I save as Png and Jpeg? It’s annoying so I didn’t make it :-P This add-on resizes the image when converting it to webp.

Q . Why don’t Gifs resize? For showing animated gifs.

Q . Why Webp? To reduce image size. Webp is super light, amazing, genius.

Q .Why don’t gifs convert to webp? I tried converting it but the size increased. Not genius.

Q . Why isn’t AVIF better than Webp? Not sure if AVIF works cross platform. Webp has been tested.

Q . Is there a shortcut key? I tried to make it but it didn’t work well so it became a bother :-P

💖Please Support Shige’s Anki add-ons development!

Hi thank you for using this add-on I’m Shigeඞ!

[ 🛠️Fix add-ons ] So far I fixed and customized 80+ broken add-ons for free and developed over 30 add-ons as a hobby (all add-ons). If you have requests to fix broken add-ons feel free to contact me. Fix broken addons (Free) [ 💖Donation ] I’m looking for supporters for my add-ons development because I like Anki!👍️ If you support my volunteer development you will get 14 add-ons for patrons only and 15 game themes included in AnkiArcade ($5/month).

Get Patrons only addons | Patrons Q and A | Contact

[ Special Thanks ] So far I received donations from 561 patrons and without their support I never could develop this, thank you very much!🙏

Patrons: Arthur Bookstein Haruka Luis Alberto, Letona Quispe 07951350313540 Lily Daniel Kohl-Fink Tim NamelessGO Kyle Mondlak ElAnki Abhi S Matthew Hartford Jonathan Contreras findus161 K Peasant of Anki Juan Salgado Ernest Chan Yaeerrrrrr Elisabeth Barber Jesse Asiedu GP O’Byrne David C KM Christopher Lam Kolorophyll Jake Stucki Kaitlyn Bowler Isabel Guan Steven Banner Heidi Leonora Lomoki Akporyoe ellie Tobias Klös Xiuxuan Wang Ujwal Chadha gus forester iuventius Patrick ellis tarek Iggi qiting zeng Carly Burdorf Austin Regal Muneeb Khan Aydin Herik Mia Hoang Hung Sameer Al Matheus Chagas Bryn Price Orlando Frey pie_is_good Svel1989 Take Root Vivian Cao Keeler Kime Kurt Grabow Zarina Balde Pansanity Gabriel Farrugia Lis Y. Fahim Shaik Augusto Stein Ashok Rajpurohit mootcourt NoirHassassin alpha male, shredded af Morgan Torres Dennis Obis Anh-Tai Nguyen Tae Lee Joseph Howell Gabriel Vinicio Guedes sab hoque Terence Bartenbach R Rebecca only Ythalo Vlogs Ketan Pal Aurora Dzurko Tyler Schulte Kmyungc Mac Will S. Meeyah Davis Eric Allen Devon Williams alex han Douglas Beeman Andrew Yick Robert Remedios Marley Easterbrook Temi Jide Ansel Ng Simeon Azfar Hussain Haley Schwarz Woody kenken Jeanna …full list

[ 📥 How do I install this add-on? ] Copy and paste the add-on code ( 8280891 ) into Anki and you can install it. ( Menu -> Tools -> Add-ons -> Get Add-ons -> Code [ add-on code ] ) When I develop bug fixes, create new features, or compatibility for New Anki, I will notify you and you can install it. Add-ons will be broken when the official Anki gets a major update, so if you like this add-on please support my volunteer development by rating, sharing, and donating. Thank you!

Click here and please Rate this add-on, Thank you! :-)


Screenshots

reddit

image

patrons_banner


Liên kết hỗ trợ


Reviews (14)

👍 2025-11-04

save

Comment from author thx!

👍 2025-07-24

Pretty cool! Thank you! Comment from author Glad it helped! :D

👍 2025-06-17

I love this! Though I did have to patch it:

If you get an SSL error or a timeout, it can crash out. I fixed it like this:

def get_image_data(url): time.sleep(SLEEP_TIME) try: response = requests.get(url, headers=headers, timeout=5, verify=False) except (requests.exceptions.SSLError, requests.exceptions.ReadTimeout, requests.exceptions.ConnectionError): return None, None except Exception: import traceback traceback.print_exc() return None,

👍 2025-05-11

I get the error “Image not found :-O” Comment from author --- Edit 2025-05-16 --- So far it is working fine on my device, so it seems to me that there is no problem with add-on and API. --- 2025-5-11 --- hi thanks for reporting the problem. the error message appears when the search does not find an image (or the image format is not supported). try searching for a simple word like cat or dog and see if it works correctly. if they are not found there may be a bug, so please contact me again.

👍 2025-03-04

It’s always worked well but I got this error message and can’t use it anymore

HTTPSConnectionPool(host=‘c8.alamy.com’, port=443): Max retries exceeded with url: /comp/2PF4FAC/keyword-line-vector-icons-and-signs-phrases-search-terms-queries-tags-cues-keywords-signals-outline-vector-illustration-set-2PF4FAC.jpg (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)’))) Comment from author T

👍 2025-02-27

I just wanted to let you know that the “imghdr” package used here is deprecated with python 3.13 and will cause an error in anki. I tried “filetype” as a replacement for my install and it worked. Love the add-on and the work you are doing for this community! =) Comment from author Thanks for the report, I didn’t know that! I’m already using filetype in another add-on so I’ll try to incorporate it as you said.

👍 2025-02-26

many thanks ❤️ Comment from author thanks! :D

👍 2025-02-10

Works well Comment from author before post was edited Edit 2025-02-10: Hi, I did some looking into this issue. If you are already using the API I think it is unlikely that your setting is wrong, it may be something else. I added a new function to the add-on to show feedback when errors occur. After updating (Tools → add-ons → Check for Updates) please check if something is displayed. (And try to use a single note and keep the text in the field simple.)

Hi thanks for reporting the problem. S

👍 2024-10-25

The APIs is hard to set, i cant figure what I have do wrong, don’t you have a pass by pass tutorial to set this add-on ? Comment from author I have not written a tutorial yet, I will do so next time, please wait.

👍 2024-10-09

love it Comment from author Thanks! :-)

👍 2024-09-26

Thanks beautiful addon Comment from author Thanks! :-)

👍 2024-09-12

very useful Comment from author Thanks for the feedback! :-)

👍 2024-08-25

.

Comment from author 🐧

👍 2024-06-11

Awesome add-on!!!! Comment from author Thanks for the feedback! :-) Since this add-on has a long explanation, I thought no one was using it lol