Greasy Fork is available in English.

WikiArt Downloader

Add button to download full resolution images from WikiArt

Auteur
CertifiedDiplodocus
Installations quotidiennes
0
Installations (total)
60
Notes
1 0 0
Version
1.0
Créé
16/04/2024
Mis à jour
20/04/2024
Licence
GPL-3.0-or-later
S'applique à

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.