Greasy Fork is available in English.

WikiArt Downloader

Add button to download full resolution images from WikiArt

Tekijä
CertifiedDiplodocus
Päivittäiset asennukset
0
Asennuskerrat
38
Arvostelut
1 0 0
Versio
1.0
Luotu
16.4.2024
Päivitetty
20.4.2024
Lisenssi
GPL-3.0-or-later
Käytössä

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.