Upload Public Domain files from Rijksmuseum.nl to Wikimedia Commons.
- Download the CSV data of the list of all files on the website from here.
- Name the csv as
data.csv
. - 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
.