Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 1.16 KB

File metadata and controls

48 lines (34 loc) · 1.16 KB

OpenScienceRadio-Zenodo-Uploader

Small tool to upload Open Science Radio episodes to Zenodo. If you want to adapt this for your own needs please be aware that some meta information is hard coded.

Example

Step 1 - Download the file and compile the meta data.

$ ./osr-zenodo-uploader.py compile_data -u http://www.openscienceradio.de/2015/01/29/osr028-unseminars-mit-aidan-budd/ -o OSR028

This should lead to the following folde/file structure:

OSR028
├── meta.json
├── OSR028-unseminars-mit-aidan-budd
├── OSR028-unseminars-mit-aidan-budd.m4a
├── OSR028-unseminars-mit-aidan-budd.mp3
└── OSR028-unseminars-mit-aidan-budd.opus

You can edit the meta data file manually if needed or upload the episode without any changes to Zenodo.

WORK IN PROGRESS: Step 2 - Zenodo submission:

$ ./osr-zenodo-uploader.py upload -i OSR028

Dependecies

$ pip install beautifulsoup4 requests wget

Links

Token creation at zenodo:

Helpful documentation: