Download show audio from Spinitron's ARK player.
Note
Audio is only available for two weeks from the original air date! This is a Spinitron imposed limitation necessary for compliance with certain copyright law.
-
Make sure you have ffmpeg installed on your machine. You can download ffmpeg easily using Homebrew in your command line:
brew install ffmpeg
-
Install python pre-requisites:
pip3 install requests m3u8
alternatively you can run the following from the project directory,
pip3 install -r requirements.txt
[!NOTE] If you use Homebrew to manage your Python runtime installations, you will need to first initialize and active a virtual environment (venv).
-
Get show audio:
./spinget.py 11/04/2021 00:00 1
The above invocation gets
1
hour of audio starting at midnight (00:00
) on October 4th, 2024 (10/04/2024
).Optionally, provided a
.csv
containing the dates, times, and durations of multiple shows you'd like to download, you can run:./bulk_download.py shows-example.csv
where
shows-example.csv
follows the same format as in the orignal command, outlined in the file included in thsi repository.
- This probably will not work properly across a date boundry.
- This generates intermediate files in the working directory (though they are purged upon completion).
- Durations longer than 2 hours