{"id":34108066,"url":"https://github.com/hyunchel/mochart","last_synced_at":"2026-04-09T04:32:02.885Z","repository":{"id":50184801,"uuid":"154779482","full_name":"hyunchel/mochart","owner":"hyunchel","description":"Music online chart parser","archived":false,"fork":false,"pushed_at":"2022-12-08T01:23:01.000Z","size":206,"stargazers_count":4,"open_issues_count":3,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-12-04T20:21:28.645Z","etag":null,"topics":["chart","gaon","melon","mnet","music","naver","oricon","parser","ranking"],"latest_commit_sha":null,"homepage":"","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/hyunchel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-26T04:58:37.000Z","updated_at":"2023-11-11T23:52:28.000Z","dependencies_parsed_at":"2023-01-24T21:30:13.217Z","dependency_job_id":null,"html_url":"https://github.com/hyunchel/mochart","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hyunchel/mochart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyunchel%2Fmochart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyunchel%2Fmochart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyunchel%2Fmochart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyunchel%2Fmochart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyunchel","download_url":"https://codeload.github.com/hyunchel/mochart/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyunchel%2Fmochart/sbom","scorecard":{"id":475818,"data":{"date":"2025-08-11","repo":{"name":"github.com/hyunchel/mochart","commit":"e3b318ef603031ce9ef0fdd4ea973b34ce74d184"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"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/28 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":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"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":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"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":"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 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"}},{"name":"Vulnerabilities","score":0,"reason":"15 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2022-42986 / GHSA-43fp-rhv2-5gv8","Warn: Project is vulnerable to: PYSEC-2023-135 / GHSA-xqr8-7jwr-rhp7","Warn: Project is vulnerable to: PYSEC-2024-60 / GHSA-jjg7-2v4v-x38h","Warn: Project is vulnerable to: PYSEC-2020-92 / GHSA-hj5v-574p-mj7c","Warn: Project is vulnerable to: PYSEC-2022-42969","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2023-74 / GHSA-j8r2-6x86-q33q","Warn: Project is vulnerable to: GHSA-34jh-p97f-mpxf","Warn: Project is vulnerable to: PYSEC-2023-212 / GHSA-g4mx-q9vg-27p4","Warn: Project is vulnerable to: GHSA-pq67-6m6q-mj2v","Warn: Project is vulnerable to: PYSEC-2019-132 / GHSA-r64q-w8jr-g9qp","Warn: Project is vulnerable to: PYSEC-2023-192 / GHSA-v845-jxx5-vc9f","Warn: Project is vulnerable to: PYSEC-2020-148 / GHSA-wqvq-5m8c-6g24","Warn: Project is vulnerable to: PYSEC-2021-108"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T15:16:20.866Z","repository_id":50184801,"created_at":"2025-08-19T15:16:20.866Z","updated_at":"2025-08-19T15:16:20.866Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31586403,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"online","status_checked_at":"2026-04-09T02:00:06.848Z","response_time":112,"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":["chart","gaon","melon","mnet","music","naver","oricon","parser","ranking"],"created_at":"2025-12-14T18:13:09.602Z","updated_at":"2026-04-09T04:32:02.879Z","avatar_url":"https://github.com/hyunchel.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mochart\n\n[![CircleCI](https://circleci.com/gh/hyunchel/mochart/tree/master.svg?style=svg)](https://circleci.com/gh/hyunchel/mochart/tree/master)\n\nmochart(**m**usic **o**n **chart**) is a simple webpage parser that aims to retrieve song rankings in JSON compatible data format.\n\n## Installation\n\nA simple `pip` install:\n```bash\npip install mochart\n```\n\n## Example\n\nRealtime ranks from Melon:\n```python\nfrom mochart import melon\nranks = melon.realtime()\nprint(ranks)\n```\nAt the time of this writing, the code would print:\n```json\n[{\n\t\"title\": \"SOLO\",\n\t\"artist\": \"제니 (JENNIE)\",\n\t\"album\": \"SOLO\"\n}, {\n\t\"title\": \"봄바람\",\n\t\"artist\": \"Wanna One (워너원)\",\n\t\"album\": \"1¹¹=1 (POWER OF DESTINY)\"\n}, {\n\t\"title\": \"Tempo\",\n\t\"artist\": \"EXO\",\n\t\"album\": \"DON`T MESS UP MY TEMPO - The 5th Album\"\n}, {\n\t\"title\": \"YES or YES\",\n\t\"artist\": \"TWICE (트와이스)\",\n\t\"album\": \"YES or YES\"\n}, {\n\t\"title\": \"너를 만나\",\n\t\"artist\": \"폴킴\",\n\t\"album\": \"너를 만나\"\n}, {\n\t\"title\": \"아름답고도 아프구나\",\n\t\"artist\": \"비투비\",\n\t\"album\": \"HOUR MOMENT\"\n}, {\n\t\"title\": \"Gravity\",\n\t\"artist\": \"EXO\",\n\t\"album\": \"DON`T MESS UP MY TEMPO - The 5th Album\"\n}...]\n```\n\u003e feat. 아이돌전쟁\n\n## API\n\nAll functions in a provider(e.g. Melon) will return Python List that contains music information in order of its ranking.\n\nGenerally, a rank contains title, aritst, and album in string format as seen above.\n\n*Not all providers support the these functions.*\n\n#### realtime\nReturn the most current ranks at the time of query.\n\n#### trend\nReturn songs that are trending at the time of query.\n\n#### day\nReturn ranks given day.\n\n#### week\nReturn ranks given week.\n\n#### month\nReturn ranks given month.\n\n#### year\nReturn ranks given year.\n\n\n## Datetime\n\nGiven datetime object will be converted into a local datetime for the provider. For example A datetime given to `melon.day(today)`, the argument `today` will be converted to  `Asia/Seoul` timezone before the query.\n\nNote that if incorrect time is given to any function, it could return either an empty array or ranks of the closest date.\n\nAlso, if no datetime object is provided as an argument, the current time will be used in the query.\n\n## Contribution\n\nYou are more than welcome to contribute a new chart and/or ideas on this project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyunchel%2Fmochart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyunchel%2Fmochart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyunchel%2Fmochart/lists"}