Upload Public Domain files from Rijksmuseum.nl to Wikimedia Commons.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Agastya 8b27807ee9
license
7 months ago
.gitignore refactored code 8 months ago
LICENSE license 7 months ago
README.md add readme 7 months ago
helperFns.js tweaks 8 months ago
index.js tweaks 8 months ago
package.json update package.json 7 months ago
utils.js refactored code 8 months ago
yarn.lock refactored code 8 months ago

README.md

Rijksmuseum uploader bot

Upload Public Domain files from Rijksmuseum.nl to Wikimedia Commons.

  1. Download the CSV data of the list of all files on the website from here.
  2. Name the csv as data.csv.
  3. Create a .env file with the following three things:
API_KEY=RIJKSMUSEUM-API-KEY
USERNAME=COMMONS-USERNAME
PASSWORD=COMMONS-PASSWORD

To get the API KEY of Rijksmuseum, create an account on their site. Details.

node index.js will start the script. Track the progress in status.txt file, and errors are logged in err.txt.