Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

archive_download

Simple example usage of the tritium command line driver.

Dependencies: open-tritium driver and all required clibs

Example Usage

After building tritium, to download the most recent .mp3s of archived Wefunk radio shows, run the tritium driver with the following arguments and pipe:

wget -P archived_shows/ -i -- $( curl http://www.wefunkradio.com/shows/750 | ../open-tritium/tritium -f="wefunk.ts" )

To download more, you can specify the paginated URLs in wefunk_shows.txt, and run:

wget -P archived_shows/ -i -- $( curl -K wefunk_shows.txt | ../open-tritium/tritium -f="wefunk.ts" )

the .mp3s will be saved in the folder named archived_shows/. Note: wget will lag slightly at first, due to the <!DOCTYPE> element.

===========

To do the same thing with Minimal wave shows on East Village Radio (html source downloaded from internet archive), run:

[PATH_TO_OPEN_TRITIUM_DRIVER]/tritium -f="evr/evr.ts" -i="evr/East Village Radio - Shows - Minimal Wave.html" | xargs wget -P archived_shows/ -i

About

Simple example usage of the tritium command line driver

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages