らじるの聞き逃し番組録音スクリプト
イメージプル
$ docker pull aoshimash/radiru-dl:latest
番組ページのURLまたはプレイヤーページのURLを指定して音声ファイルをダウンロードすることができます。
番組ページとは https://www.nhk.or.jp/radio/ondemand/detail.html?p=****_**
のことです。番組ページを指定した場合はページ内の全放送が録音されます。
プレイヤーページとは、 https://www.nhk.or.jp/radio/player/ondemand.html?p=****_**_*****
のことです。プレイヤーページを指定した場合はそのプレイヤーで放送される1番組のみが録音されます。
番組ごとプレイヤーごとに最後のクエリストリングが異なります。
$ docker run -v $(pwd)/output:/root/output -it aoshimash/radiru-dl <番組ページURL/プレイヤーURL>
e.g.
$ docker run -v $(pwd)/output:/root/output -it aoshimash/radiru-dl "https://www.nhk.or.jp/radio/ondemand/detail.html?p=0045_01"
$ docker run -v $(pwd)/output:/root/output -it aoshimash/radiru-dl "https://www.nhk.or.jp/radio/player/ondemand.html?p=0045_01_44612"