WikiArt Downloader

Add button to download full resolution images from WikiArt

ئاپتورى
CertifiedDiplodocus
بۈگۈن قاچىلانغىنى
0
جەمئىي قاچىلانغىنى
60
باھا نومۇرى
1 0 0
نەشرى
1.0
قۇرۇلغان ۋاقتى
2024-04-16
يېڭىلانغان ۋاقتى
2024-04-20
ئىجازەتنامىسى
GPL-3.0-or-later
قوللايدىغىنى

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.