Image Downloader

Images can be extracted and batch downloaded from most websites. Especially for websites the right click fails or image can not save. Extra features: zip download / auto-enlarge image. See the script description at info page (only suitable for chrome+tampermonkey)

As of 2022-04-05. See the latest version.

Author
taoyuancun123
Ratings
0 0 0
Version
2.02
Created
2021-01-08
Updated
2022-04-05
License
GPLv3
Applies to
All sites

How to use

Basic usage

There are three ways to open the script page,
1. Shortcut keys, alt+w, it is best to use this method to open websites such as Yaoqi, Tencent Comics, B station, etc.
2. right click - tampermonkey option - image downloader - open script
3. Expand the display area in the upper right corner of the page, click the oil monkey icon - click "picture downloader - open picture"

Extended Features

zip download

Using zip download, you can compress and pack all pictures into a zip file for download, so when you download multiple pictures, you only need to download a zip package, and you do not need to open a download link for each picture.
Now a zip download option has been added, which is disabled by default. If you do not use zip download, you do not need to open this option.
Turning on the zip option will require a cross-domain request. Most images cannot be packaged into a zip package without cross-domain. It is recommended to allow all domain names to cross domains after each update of the script, and the script is open source.

Auto-enlarge image

When there are multiple specifications of pictures in the website, the large picture/original picture is automatically obtained. When obtaining, the original picture displayed on the website will be retained, and the corresponding large picture will also be automatically obtained.
Manual configuration
Write a txt file, then write the rules in the following format, and then use "Import Custom Rules" to import
[
{originReg:/(?<=(.+sinaimg\.(?:cn|com)\/))([\w\.]+)(?=(\/.+))/i,replacement:" large",tip:"for Sina Weibo"},
]
The outside is an array, the inside is an object, originReg corresponds to a parameter of the replace function, replacement corresponds to the second parameter of the replace function, and tip is a prompt description
List of websites that support automatic large images by default
I wrote it in the script, the default list of websites that support automatic large pictures, you are also welcome to leave a message in the feedback area to add more automatic large picture websites
weibo.com/
Taobao website (taobao.com, tmall.com, aliexpress.com, 1688.com)/
jd.com/
bilibili.com


Additional Notes

First, it is currently only suitable for the combination of chrome+tampermonkey, the chromium kernel used by the edge browser, I have tried several websites, and most of them should be fine. There is a good chance that other combinations are problematic. Because the adaptation is too troublesome, there is no plan to make other combinations of adaptations for the time being.
Second, the script can run on all websites, but each website has different strategies and the results of running are also different. Therefore, for feedback, you need to bring a specific website, preferably a specific webpage
Three, comics download, I have tried B station and Tencent comics, and they are demonic.
Note:
You can already download the comics from station b. There are two reading modes for station b comics:
One is to load many words at one time, because too many pictures are loaded at one time, and the pictures need to be obtained asynchronously after opening the script. But the download is very cool, as long as you drag it to the end and load all the pictures, you can download dozens of words at one time. (When it is not dragged to the end, there will be many blank large pictures, so if you want to download it, you must manually drag it yourself. After dragging it to the end, open the script page to download). The slow loading is also because the B station adds a layer of canvas to the picture. You need to crack his canvas restrictions before downloading. Even if there are many pictures on a normal website, it will not cause the opening of the script page to be very slow.
The second is that the current reading will be displayed, the previous reading will be destroyed, and the subsequent ones will not be preloaded. In this reading mode, opening scripts is as fast as any other website, but only one or two pages of comics can be downloaded at a time.

Version History

1.29--The script basically has various functions
1.62--Added and improved the zip download function, you can pack the pictures into a zip package to download all the pictures at one time, instead of downloading them one by one.
1.65--Added download functions such as Yaoqi, Tencent Comics, Bilibili Comics, etc.
1.96--Add automatic large image support, and support importing custom automatic large image rule configuration