Add some description here...
$cp config.example.py config.py
$vi config.py
- python 3
- node > 7
- docker-compose or MongoDB
$pip install -r requirements.txt
$npm i
First download the data as json files:
$python download_all_files.py
Make sure you have a mongo database running on http://localhost:27017 You can use docker for that:
$docker-compose up
Or alternatively MongoDB with these two steps:
$mongod --dbpath "your\path\to\db"
$mongo
Then insert the data into a mongodb:
$node dataToMongo-splitfiles.js
A script to connect to API and download the files with pagination. Caches files already downloaded. Set clear to 'True' to empty cache. Requires config.py with login information. Performs initial cleaning of json documents.
Creates Mongo database with three collections: Author, Artwork and Media. Requires json data files.