On 14/04/15 23:03, Mike Ray wrote: > Hello folks, > > Does anybody know whether archive.org has some kind of API I can use to > upload files from the command-line? > > I have a bunch of short audio files, actually they are recordings of > each step of an accessible install of Debian 7.6 network install and I > would like to put them on archive.org so I can link to each file in an > installation guide on my new web site at: > > http://eyesfreelinux.ninja/ > > I have tried several times via the web interface and it is a > horrendously complex business.
Hi Mike, I built a work-flow to allow the uploading of HPR shows to archive.org around August 2014. I use it every weekend to upload the last week's shows. Your needs might be different because I wanted to be able to upload the show notes as well as the audio. This added considerably to the complexity because it meant I had to process the HTML notes to fit them to the API. I used the S3-like interface and made use of a Perl script (called ias3upload.pl) which I found when searching for help. This takes a CSV metadata file into which the HTML has been encoded which also points to the audio files. I wrote my own Perl script to generate this metadata. I believe there is a Python script which does the same job as the Perl script I found. It is more recent and may well be better. I have not used it myself since I only found out about it late in the development of my own script, and that has been working fine since last year. I can enlarge on this off-list if you want. I found it all quite poorly documented at the time so I'm happy to share what I discovered. Dave -- Dave Morriss, Edinburgh, Scotland, UK | [email protected] _______________________________________________ Hpr mailing list [email protected] http://hackerpublicradio.org/mailman/listinfo/hpr_hackerpublicradio.org
