/radipy

Radipy is CLI radiko Downloader written by python3.

Primary LanguagePythonMIT LicenseMIT

radipy

Radipy is CLI radiko Downloader written by python3.

Usage

$ python radipy.py --help
Usage: radipy.py [OPTIONS]

  Radipy is CLI radiko Downloader written by python3.

Options:
  -a, --area  print station id & name in your area
  -id TEXT    set station id
  -ft TEXT    set start time
  --clear     clear authkey and player in tmp dir
  --help      Show this message and exit.

Example

$ python radipy.py --area
create playerFile...
create KeyFile...
access auth1_fms...
generate particleKey...
access auth2_fms...
--------------------------
authentication success.
area_id: JP20
+------------------+--------------------+
|  id              |  名前              |
+------------------+--------------------+
|  SBC             |  SBCラジオ         |
|  RN1             |  ラジオNIKKEI第1   |
|  RN2             |  ラジオNIKKEI第2   |
|  FMN             |  FM長野          |
|  HOUSOU-DAIGAKU  |  放送大学          |
+------------------+--------------------+


$ python radipy.py -id=SBC -ft=20170319233000
access auth1_fms...
generate particleKey...
access auth2_fms...
--------------------------
authentication success.
area_id: JP20
+----------------------------+
|           title            |
+----------------------------+
|  水樹奈々スマイルギャング  |
+----------------------------+
Now Downloading.../finish!%         

requirements

pip install -r requirements.txt
brew install ffmpeg swfextract

Tested

  • MacOS 10.11.6
  • Python 3.5.2
  • pip 9.0.1
  • Homebrew 1.1.11