radikopodcast


Nameradikopodcast JSON
Version 1.0.3 PyPI version JSON
download
home_pageNone
SummaryAutomatic archiver for radiko program which queried by YAML file.
upload_time2024-03-26 18:23:47
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseMIT License Copyright (c) 2021 Master Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords radiko radikopodcast
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # radiko Podcast

[![Test](https://github.com/road-master/radiko-podcast/workflows/Test/badge.svg)](https://github.com/road-master/radiko-podcast/actions?query=workflow%3ATest)
[![CodeQL](https://github.com/road-master/radiko-podcast/workflows/CodeQL/badge.svg)](https://github.com/road-master/radiko-podcast/actions?query=workflow%3ACodeQL)
[![Test Coverage](https://api.codeclimate.com/v1/badges/9b52f1765b2e797d293d/test_coverage)](https://codeclimate.com/github/road-master/radiko-podcast/test_coverage)
[![Maintainability](https://api.codeclimate.com/v1/badges/9b52f1765b2e797d293d/maintainability)](https://codeclimate.com/github/road-master/radiko-podcast/maintainability)
[![Code Climate technical debt](https://img.shields.io/codeclimate/tech-debt/road-master/radiko-podcast)](https://codeclimate.com/github/road-master/radiko-podcast)
[![Python versions](https://img.shields.io/pypi/pyversions/radikopodcast.svg)](https://pypi.org/project/radikopodcast)
[![Twitter URL](https://img.shields.io/twitter/url?style=social&url=https%3A%2F%2Fgithub.com%2Froad-master%2Fradiko-podcast)](http://twitter.com/share?text=radiko%20Podcast&url=https://pypi.org/project/radikopodcast/&hashtags=python)

タイムフリー 1 週間では足りない人向けの radiko 番組自動アーカイブコマンドです

## 特徴

- 対象の番組をタイムフリーから検索し、自動的にアーカイブ
- 複数の番組を同時にアーカイブ

## 対象の番組をタイムフリーから検索し、自動的にアーカイブ

`config.yml` ファイルに設定を記述して `radiko-podcast` コマンドを実行すると、
自動的にタイムフリーを検索して、見つかった番組を
`output/` ディレクトリーにアーカイブし続けます

アーカイブした番組は m4a ファイルになるので、
iTunes で iPhone に入れることができ、
外出中でも sim の通信パケットを消費せずに番組を聴くことができます

コマンドを実行したままにしておけば、
radiko が夜間に新しく追加するタイムフリーの番組表も
自動的に検索してアーカイブを行い続けます
## 複数の番組を同時にアーカイブ

radiko の番組のアーカイブには時間がかかりますが、
この `radiko-podcast` コマンドは複数番組を同時にアーカイブできます

同時に実行するアーカイブのプロセス数は、設定ファイルで調整できます

## 動作環境の要件

- FFmpeg

## クイックスタート

### 1. インストール

```console
pip install radikopodcast
```

### 2. `config.yml` の作成

```yaml
# エリア ID (詳細は "ISO 3166-2:JP" で検索)
area_id: JP13
# 同時に実行するアーカイブのプロセス数
number_process: 3
# アーカイブするファイルが既に存在した場合、コマンドの実行を停止するかどうか
# true: 既に存在したファイルは上書きせず、他の番組のアーカイブを続けます
# false: コマンドの実行を停止します
stop_if_file_exists: false
# いずれかのキーワードで見つかった番組をアーカイブします
# 検索対象の情報は番組名のみです
keywords:
  - "SAISON CARD TOKIO HOT 100"
  - "K's Transmission"
  - "ROPPONGI PASSION PIT"
  - "カフェイン11"
```

### 3. `output/` ディレクトリーの作成

```console
mkdir output
```

この時点でディレクトリー構成は次のようになっています:

```text
your-workspace/
+----output/
+----config.yml
```

### 4. コマンドの実行

```console
radiko-podcast
```

すると、対象の番組をタイムフリーから検索し、
見つかった番組を `output/` ディレクトリーに自動的にアーカイブし続けます

### 5.終了する場合、ターミナルで Ctrl + C を入力します

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "radikopodcast",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "Master <roadmasternavi@gmail.com>",
    "keywords": "radiko, radikopodcast",
    "author": null,
    "author_email": "Master <roadmasternavi@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/24/d9/dbb281e4571ce63d6512edbb052dc9e469cb8d5bc139ee57d9af9a135538/radikopodcast-1.0.3.tar.gz",
    "platform": null,
    "description": "# radiko Podcast\n\n[![Test](https://github.com/road-master/radiko-podcast/workflows/Test/badge.svg)](https://github.com/road-master/radiko-podcast/actions?query=workflow%3ATest)\n[![CodeQL](https://github.com/road-master/radiko-podcast/workflows/CodeQL/badge.svg)](https://github.com/road-master/radiko-podcast/actions?query=workflow%3ACodeQL)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/9b52f1765b2e797d293d/test_coverage)](https://codeclimate.com/github/road-master/radiko-podcast/test_coverage)\n[![Maintainability](https://api.codeclimate.com/v1/badges/9b52f1765b2e797d293d/maintainability)](https://codeclimate.com/github/road-master/radiko-podcast/maintainability)\n[![Code Climate technical debt](https://img.shields.io/codeclimate/tech-debt/road-master/radiko-podcast)](https://codeclimate.com/github/road-master/radiko-podcast)\n[![Python versions](https://img.shields.io/pypi/pyversions/radikopodcast.svg)](https://pypi.org/project/radikopodcast)\n[![Twitter URL](https://img.shields.io/twitter/url?style=social&url=https%3A%2F%2Fgithub.com%2Froad-master%2Fradiko-podcast)](http://twitter.com/share?text=radiko%20Podcast&url=https://pypi.org/project/radikopodcast/&hashtags=python)\n\n\u30bf\u30a4\u30e0\u30d5\u30ea\u30fc 1 \u9031\u9593\u3067\u306f\u8db3\u308a\u306a\u3044\u4eba\u5411\u3051\u306e radiko \u756a\u7d44\u81ea\u52d5\u30a2\u30fc\u30ab\u30a4\u30d6\u30b3\u30de\u30f3\u30c9\u3067\u3059\n\n## \u7279\u5fb4\n\n- \u5bfe\u8c61\u306e\u756a\u7d44\u3092\u30bf\u30a4\u30e0\u30d5\u30ea\u30fc\u304b\u3089\u691c\u7d22\u3057\u3001\u81ea\u52d5\u7684\u306b\u30a2\u30fc\u30ab\u30a4\u30d6\n- \u8907\u6570\u306e\u756a\u7d44\u3092\u540c\u6642\u306b\u30a2\u30fc\u30ab\u30a4\u30d6\n\n## \u5bfe\u8c61\u306e\u756a\u7d44\u3092\u30bf\u30a4\u30e0\u30d5\u30ea\u30fc\u304b\u3089\u691c\u7d22\u3057\u3001\u81ea\u52d5\u7684\u306b\u30a2\u30fc\u30ab\u30a4\u30d6\n\n`config.yml` \u30d5\u30a1\u30a4\u30eb\u306b\u8a2d\u5b9a\u3092\u8a18\u8ff0\u3057\u3066 `radiko-podcast` \u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\n\u81ea\u52d5\u7684\u306b\u30bf\u30a4\u30e0\u30d5\u30ea\u30fc\u3092\u691c\u7d22\u3057\u3066\u3001\u898b\u3064\u304b\u3063\u305f\u756a\u7d44\u3092\n`output/` \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fc\u306b\u30a2\u30fc\u30ab\u30a4\u30d6\u3057\u7d9a\u3051\u307e\u3059\n\n\u30a2\u30fc\u30ab\u30a4\u30d6\u3057\u305f\u756a\u7d44\u306f m4a \u30d5\u30a1\u30a4\u30eb\u306b\u306a\u308b\u306e\u3067\u3001\niTunes \u3067 iPhone \u306b\u5165\u308c\u308b\u3053\u3068\u304c\u3067\u304d\u3001\n\u5916\u51fa\u4e2d\u3067\u3082 sim \u306e\u901a\u4fe1\u30d1\u30b1\u30c3\u30c8\u3092\u6d88\u8cbb\u305b\u305a\u306b\u756a\u7d44\u3092\u8074\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\n\n\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u305f\u307e\u307e\u306b\u3057\u3066\u304a\u3051\u3070\u3001\nradiko \u304c\u591c\u9593\u306b\u65b0\u3057\u304f\u8ffd\u52a0\u3059\u308b\u30bf\u30a4\u30e0\u30d5\u30ea\u30fc\u306e\u756a\u7d44\u8868\u3082\n\u81ea\u52d5\u7684\u306b\u691c\u7d22\u3057\u3066\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u884c\u3044\u7d9a\u3051\u307e\u3059\n## \u8907\u6570\u306e\u756a\u7d44\u3092\u540c\u6642\u306b\u30a2\u30fc\u30ab\u30a4\u30d6\n\nradiko \u306e\u756a\u7d44\u306e\u30a2\u30fc\u30ab\u30a4\u30d6\u306b\u306f\u6642\u9593\u304c\u304b\u304b\u308a\u307e\u3059\u304c\u3001\n\u3053\u306e `radiko-podcast` \u30b3\u30de\u30f3\u30c9\u306f\u8907\u6570\u756a\u7d44\u3092\u540c\u6642\u306b\u30a2\u30fc\u30ab\u30a4\u30d6\u3067\u304d\u307e\u3059\n\n\u540c\u6642\u306b\u5b9f\u884c\u3059\u308b\u30a2\u30fc\u30ab\u30a4\u30d6\u306e\u30d7\u30ed\u30bb\u30b9\u6570\u306f\u3001\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3067\u8abf\u6574\u3067\u304d\u307e\u3059\n\n## \u52d5\u4f5c\u74b0\u5883\u306e\u8981\u4ef6\n\n- FFmpeg\n\n## \u30af\u30a4\u30c3\u30af\u30b9\u30bf\u30fc\u30c8\n\n### 1. \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\n\n```console\npip install radikopodcast\n```\n\n### 2. `config.yml` \u306e\u4f5c\u6210\n\n```yaml\n# \u30a8\u30ea\u30a2 ID (\u8a73\u7d30\u306f \"ISO 3166-2:JP\" \u3067\u691c\u7d22)\narea_id: JP13\n# \u540c\u6642\u306b\u5b9f\u884c\u3059\u308b\u30a2\u30fc\u30ab\u30a4\u30d6\u306e\u30d7\u30ed\u30bb\u30b9\u6570\nnumber_process: 3\n# \u30a2\u30fc\u30ab\u30a4\u30d6\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u304c\u65e2\u306b\u5b58\u5728\u3057\u305f\u5834\u5408\u3001\u30b3\u30de\u30f3\u30c9\u306e\u5b9f\u884c\u3092\u505c\u6b62\u3059\u308b\u304b\u3069\u3046\u304b\n# true: \u65e2\u306b\u5b58\u5728\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u306f\u4e0a\u66f8\u304d\u305b\u305a\u3001\u4ed6\u306e\u756a\u7d44\u306e\u30a2\u30fc\u30ab\u30a4\u30d6\u3092\u7d9a\u3051\u307e\u3059\n# false: \u30b3\u30de\u30f3\u30c9\u306e\u5b9f\u884c\u3092\u505c\u6b62\u3057\u307e\u3059\nstop_if_file_exists: false\n# \u3044\u305a\u308c\u304b\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u3067\u898b\u3064\u304b\u3063\u305f\u756a\u7d44\u3092\u30a2\u30fc\u30ab\u30a4\u30d6\u3057\u307e\u3059\n# \u691c\u7d22\u5bfe\u8c61\u306e\u60c5\u5831\u306f\u756a\u7d44\u540d\u306e\u307f\u3067\u3059\nkeywords:\n  - \"SAISON CARD TOKIO HOT 100\"\n  - \"K's Transmission\"\n  - \"ROPPONGI PASSION PIT\"\n  - \"\u30ab\u30d5\u30a7\u30a4\u30f311\"\n```\n\n### 3. `output/` \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fc\u306e\u4f5c\u6210\n\n```console\nmkdir output\n```\n\n\u3053\u306e\u6642\u70b9\u3067\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fc\u69cb\u6210\u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059:\n\n```text\nyour-workspace/\n+----output/\n+----config.yml\n```\n\n### 4. \u30b3\u30de\u30f3\u30c9\u306e\u5b9f\u884c\n\n```console\nradiko-podcast\n```\n\n\u3059\u308b\u3068\u3001\u5bfe\u8c61\u306e\u756a\u7d44\u3092\u30bf\u30a4\u30e0\u30d5\u30ea\u30fc\u304b\u3089\u691c\u7d22\u3057\u3001\n\u898b\u3064\u304b\u3063\u305f\u756a\u7d44\u3092 `output/` \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u30fc\u306b\u81ea\u52d5\u7684\u306b\u30a2\u30fc\u30ab\u30a4\u30d6\u3057\u7d9a\u3051\u307e\u3059\n\n### 5.\u7d42\u4e86\u3059\u308b\u5834\u5408\u3001\u30bf\u30fc\u30df\u30ca\u30eb\u3067 Ctrl + C \u3092\u5165\u529b\u3057\u307e\u3059\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2021 Master  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "Automatic archiver for radiko program which queried by YAML file.",
    "version": "1.0.3",
    "project_urls": {
        "homepage": "https://github.com/road-master/radiko-podcast",
        "repository": "https://github.com/road-master/radiko-podcast"
    },
    "split_keywords": [
        "radiko",
        " radikopodcast"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "692a3c50435fedb8e99f652c649261596bf45cdea9b958ebbf16aa9a6be1a196",
                "md5": "b61606bca6ce870dd0e184c48bcbec44",
                "sha256": "a88c0c83cc7bb7d67306ec854bf6573809bc3ab1b6477d47e2401741aa79be7c"
            },
            "downloads": -1,
            "filename": "radikopodcast-1.0.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b61606bca6ce870dd0e184c48bcbec44",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 20495,
            "upload_time": "2024-03-26T18:23:45",
            "upload_time_iso_8601": "2024-03-26T18:23:45.308507Z",
            "url": "https://files.pythonhosted.org/packages/69/2a/3c50435fedb8e99f652c649261596bf45cdea9b958ebbf16aa9a6be1a196/radikopodcast-1.0.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "24d9dbb281e4571ce63d6512edbb052dc9e469cb8d5bc139ee57d9af9a135538",
                "md5": "1523be2db256abb9619a0c247022146b",
                "sha256": "bd105448eca450aa0ca373eae8266ae0c2b87e3459bd4993ebdf17982664db04"
            },
            "downloads": -1,
            "filename": "radikopodcast-1.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "1523be2db256abb9619a0c247022146b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 23123,
            "upload_time": "2024-03-26T18:23:47",
            "upload_time_iso_8601": "2024-03-26T18:23:47.004151Z",
            "url": "https://files.pythonhosted.org/packages/24/d9/dbb281e4571ce63d6512edbb052dc9e469cb8d5bc139ee57d9af9a135538/radikopodcast-1.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-26 18:23:47",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "road-master",
    "github_project": "radiko-podcast",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "radikopodcast"
}
        
Elapsed time: 0.34599s