从radiocut.fm下载音频剪辑
radiocut_downloader的Python项目详细描述
Radiocut是一项令人惊叹的服务,它可以全天候记录无线电台,并允许您为特定电台和时间创建剪辑
这个脚本检索并合并组成音频剪辑的块
安装
$ [sudo] pip install radiocut_downloader
用法
tin@morochita:~$ radiocut -h radiocut.fm downloader Usage: radiocut <audiocut_or_podcast> [<output-file-name>] [--verbose] [--background=<path-to-image>] [--join] [--duration=<duration>] Options: -h --help Show this screen. --background=<path-to-image> If given, produce a video with this image as background --join Concatenate podcast's cuts as a single file --duration=<duration> The length to download (in seconds)
示例
$ radiocut http://radiocut.fm/audiocut/macri-gato/ # macri-gato.mp3 $ radiocut http://radiocut.fm/audiocut/macri-gato/ --verbose # macri-gato.mp3 with verbose output $ radiocut http://radiocut.fm/pdc/tin_nqn_/test # as many mp3 files, as "cuts" in the podcast $ radiocut http://radiocut.fm/pdc/tin_nqn_/test --join # test.mp3 joining all the cuts sequentially $ radiocut http://radiocut.fm/pdc/tin_nqn_/test --join --background=~/Images/black-cat.jpg # test.mp4 # get any fragment $ radiocut http://radiocut.fm/radiostation/nacional870/listen/2017/07/08/10/00/00/ custom_2m_cut --duration=120 # get shows $ radiocut https://radiocut.fm/radioshow/el-lobby/