rijks-uploader

Upload Public Domain files from Rijksmuseum.nl to Wikimedia Commons
git clone http://git.hanabi.in/repos/rijks-uploader.git
Log | Files | Refs | README | LICENSE

README.md (686B)


      1 # Rijksmuseum uploader bot
      2 
      3 Upload Public Domain files from Rijksmuseum.nl to Wikimedia Commons.
      4 
      5 1. Download the CSV data of the list of all files on the website from [here](https://scan.rijkskoha.nl/adlibdumps/202001-rma-csv-collection.zip).
      6 2. Name the csv as `data.csv`.
      7 3. Create a `.env` file with the following three things:
      8 ```text
      9 API_KEY=RIJKSMUSEUM-API-KEY
     10 USERNAME=COMMONS-USERNAME
     11 PASSWORD=COMMONS-PASSWORD
     12 ```
     13 To get the API KEY of Rijksmuseum, create an account on their site.  [Details](https://data.rijksmuseum.nl/object-metadata/api/#access-to-apis).
     14 
     15 `node index.js` will start the script.  Track the progress in `status.txt` file, and errors are logged in `err.txt`.