Greasy Fork is available in English.

WikiArt Downloader

Add button to download full resolution images from WikiArt

نووسەر
CertifiedDiplodocus
Daily installs
0
Total installs
57
Ratings
1 0 0
وەشان
1.0
Created
2024-04-16
Updated
2024-04-20
مۆڵەت
GPL-3.0-or-later
Applies to

Adds a download button to WikiArt to save the highest-available resolution of an image. Works on fullscreen, gallery and single painting views; if there's a "like" button, you should be able to download.

Default filename when saving: artist - title (year) To change this, edit the variable saveAsName in the function saveAsFunction:

let saveAsName = `${painting.artistName} - ${painting.title} (${painting.year}).${imgExtension}`; \\ e.g. René Magritte - Ceci n'est pas une pipe (1929).jpg
let saveAsName = `${painting.artistName}_${painting.year}_${painting.title}.${imgExtension}` \\      e.g. René Magritte_1929_Ceci n'est pas une pipe.jpg

With many thanks to u/sharmanhall1 on reddit (tyhallcsu on github) for their help and advice. Any remaining errors are my own doing: please let me know if anything wants fixing. Constructive criticism is very welcome.

The script has verbose logging for debugging purposes. To enable, set enableVerboseLogging = true.