{"id":15297472,"url":"https://github.com/road-master/radiko-playlist","last_synced_at":"2025-10-06T13:12:21.019Z","repository":{"id":57459692,"uuid":"267373005","full_name":"road-master/radiko-playlist","owner":"road-master","description":"Accesses to radiko API, gets media playlist URL and built header for HTTP request to its URL.","archived":false,"fork":false,"pushed_at":"2025-04-13T19:33:07.000Z","size":76,"stargazers_count":6,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-19T02:50:55.993Z","etag":null,"topics":["python","python-3","python3","radiko"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/road-master.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-05-27T16:38:39.000Z","updated_at":"2025-05-03T13:28:55.000Z","dependencies_parsed_at":"2025-04-13T23:16:21.970Z","dependency_job_id":"0cd03b37-be0b-487d-a5fa-063356951f75","html_url":"https://github.com/road-master/radiko-playlist","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/road-master/radiko-playlist","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/road-master%2Fradiko-playlist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/road-master%2Fradiko-playlist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/road-master%2Fradiko-playlist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/road-master%2Fradiko-playlist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/road-master","download_url":"https://codeload.github.com/road-master/radiko-playlist/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/road-master%2Fradiko-playlist/sbom","scorecard":{"id":779543,"data":{"date":"2025-08-11","repo":{"name":"github.com/road-master/radiko-playlist","commit":"c58f5841fb0f5b7a33dfad9b61a98f5c1685bcf0"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.8,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/8 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/analyze.yml:1","Warn: no topLevel permission defined: .github/workflows/deploy.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/deploy.yml:6"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/analyze.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/road-master/radiko-playlist/analyze.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/analyze.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/road-master/radiko-playlist/analyze.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/analyze.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/road-master/radiko-playlist/analyze.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/road-master/radiko-playlist/deploy.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/road-master/radiko-playlist/deploy.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/road-master/radiko-playlist/deploy.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:55: update your workflow using https://app.stepsecurity.io/secureworkflow/road-master/radiko-playlist/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:56: update your workflow using https://app.stepsecurity.io/secureworkflow/road-master/radiko-playlist/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:65: update your workflow using https://app.stepsecurity.io/secureworkflow/road-master/radiko-playlist/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:66: update your workflow using https://app.stepsecurity.io/secureworkflow/road-master/radiko-playlist/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/road-master/radiko-playlist/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/road-master/radiko-playlist/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/road-master/radiko-playlist/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/road-master/radiko-playlist/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/road-master/radiko-playlist/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/road-master/radiko-playlist/test.yml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:2","Warn: containerImage not pinned by hash: Dockerfile:13","Warn: pipCommand not pinned by hash: Dockerfile:4","Warn: pipCommand not pinned by hash: Dockerfile:18-19","Warn: pipCommand not pinned by hash: .github/workflows/analyze.yml:14","Warn: pipCommand not pinned by hash: .github/workflows/deploy.yml:14","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:23","Warn: downloadThenRun not pinned by hash: .github/workflows/test.yml:40","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:50","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:60","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:70","Info:   0 out of  14 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of   2 containerImage dependencies pinned","Info:   0 out of   8 pipCommand dependencies pinned","Info:   0 out of   1 downloadThenRun dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 26 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-23T04:35:06.029Z","repository_id":57459692,"created_at":"2025-08-23T04:35:06.029Z","updated_at":"2025-08-23T04:35:06.029Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278615492,"owners_count":26016186,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","python-3","python3","radiko"],"created_at":"2024-09-30T19:17:46.559Z","updated_at":"2025-10-06T13:12:20.968Z","avatar_url":"https://github.com/road-master.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# radiko playlist\n\n[![Test](https://github.com/road-master/radiko-playlist/workflows/Test/badge.svg)](https://github.com/road-master/radiko-playlist/actions?query=workflow%3ATest)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/32788a087b5e6264eaae/test_coverage)](https://codeclimate.com/github/road-master/radiko-playlist/test_coverage)\n[![Maintainability](https://api.codeclimate.com/v1/badges/32788a087b5e6264eaae/maintainability)](https://codeclimate.com/github/road-master/radiko-playlist/maintainability)\n[![Dependabot](https://flat.badgen.net/github/dependabot/road-master/radiko-playlist?icon=dependabot)](https://github.com/road-master/radiko-playlist/security/dependabot)\n[![Python versions](https://img.shields.io/pypi/pyversions/radikoplaylist.svg)](https://pypi.org/project/radikoplaylist)\n[![Twitter URL](https://img.shields.io/twitter/url?style=social\u0026url=https%3A%2F%2Fgithub.com%2Froad-master%2Fradikoplaylist)](https://twitter.com/share?text=radiko%20playlist\u0026url=https://pypi.org/project/radikoplaylist/\u0026hashtags=python)\n\nAccesses to radiko API, gets media playlist URL and built header for HTTP request to its URL.\n\n## Features\n\nThis is light weight library for interacting with radiko API to get information to access to media playlist.\nWe can find various usages by integrating with other libraries.\n\n## Example\n\nFollowing example requires additional installations:\n\n- [ffmpeg]\n- [ffmpeg-python]\n\n### Record Live\n\n```python\nimport time\n\nimport ffmpeg\n\nfrom radikoplaylist import MasterPlaylistClient, LiveMasterPlaylistRequest\n\nmaster_playlist_request = LiveMasterPlaylistRequest(\"FMT\")\nmaster_playlist = MasterPlaylistClient.get(master_playlist_request, area_id=\"JP13\")\n\nstream = ffmpeg.input(\n    master_playlist.media_playlist_url,\n    headers=master_playlist.headers,\n    copytb='1'\n)\nstream = ffmpeg.output(stream, \"./record.m4a\", f='mp4', c='copy')\n\n# @see https://github.com/kkroening/ffmpeg-python/issues/162#issuecomment-571820244\npopen = stream.run_async(pipe_stdin=True)\nrecording_minute = 30\ntime.sleep(recording_minute * 60)\npopen.communicate(str.encode(\"q\"))\ntime.sleep(3)\npopen.terminate()\n```\n\n### Record Time Free\n\n```python\nimport ffmpeg\n\nfrom radikoplaylist import MasterPlaylistClient, TimeFreeMasterPlaylistRequest\n\nmaster_playlist_request = TimeFreeMasterPlaylistRequest(\n    \"NACK5\", 20200529210000, 20200529230000\n)\nmaster_playlist = MasterPlaylistClient.get(master_playlist_request, area_id=\"JP13\")\n\nstream = ffmpeg.input(\n    master_playlist.media_playlist_url,\n    headers=master_playlist.headers,\n    copytb='1'\n)\nstream = ffmpeg.output(stream, \"./record.m4a\", f='mp4', c='copy')\nffmpeg.run(stream)\n```\n\n[ffmpeg]: https://trac.ffmpeg.org/wiki/CompilationGuide\n[ffmpeg-python]: https://pypi.org/project/ffmpeg-python/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froad-master%2Fradiko-playlist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froad-master%2Fradiko-playlist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froad-master%2Fradiko-playlist/lists"}