{"id":13460060,"url":"https://github.com/globocom/m3u8","last_synced_at":"2026-10-19T08:46:20.953Z","repository":{"id":3134059,"uuid":"4162438","full_name":"globocom/m3u8","owner":"globocom","description":"Python m3u8 Parser for HTTP Live Streaming (HLS) Transmissions","archived":false,"fork":false,"pushed_at":"2025-01-31T21:13:34.000Z","size":634,"stargazers_count":2283,"open_issues_count":45,"forks_count":499,"subscribers_count":145,"default_branch":"master","last_synced_at":"2026-10-11T09:21:51.486Z","etag":null,"topics":["hls","m3u8","parser","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/globocom.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-04-27T20:56:32.000Z","updated_at":"2026-10-09T12:44:31.000Z","dependencies_parsed_at":"2023-07-06T01:55:38.520Z","dependency_job_id":"675c019d-97f6-4573-81ae-1562e956f937","html_url":"https://github.com/globocom/m3u8","commit_stats":{"total_commits":472,"total_committers":96,"mean_commits":4.916666666666667,"dds":0.8177966101694916,"last_synced_commit":"b6fd525e1168a850b99a6121d6756939ae04b434"},"previous_names":[],"tags_count":60,"template":false,"template_full_name":null,"purl":"pkg:github/globocom/m3u8","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/globocom%2Fm3u8","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/globocom%2Fm3u8/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/globocom%2Fm3u8/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/globocom%2Fm3u8/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/globocom","download_url":"https://codeload.github.com/globocom/m3u8/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/globocom%2Fm3u8/sbom","scorecard":{"id":430067,"data":{"date":"2025-08-11","repo":{"name":"github.com/globocom/m3u8","commit":"bfbfd48fccf446471dde0731f68f23d6c8299301"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.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":"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":"Code-Review","score":5,"reason":"Found 13/24 approved changesets -- score normalized to 5","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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/main.yml:1","Warn: no topLevel permission defined: .github/workflows/ruff.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":"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":"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":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/globocom/m3u8/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/globocom/m3u8/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ruff.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/globocom/m3u8/ruff.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ruff.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/globocom/m3u8/ruff.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ruff.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/globocom/m3u8/ruff.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ruff.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/globocom/m3u8/ruff.yml/master?enable=pin","Warn: pipCommand not pinned by hash: runtests:6","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   0 out of   1 pipCommand 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":"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":"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":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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":"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":"Vulnerabilities","score":8,"reason":"2 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2021-129 / GHSA-qhx9-7hx7-cp4r","Warn: Project is vulnerable to: PYSEC-2022-227 / GHSA-xhp9-4947-rq78"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 20 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-19T03:07:43.176Z","repository_id":3134059,"created_at":"2025-08-19T03:07:43.176Z","updated_at":"2025-08-19T03:07:43.176Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":344872684,"owners_count":38352851,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-10-03T21:59:58.778Z","status":"online","status_checked_at":"2026-10-19T02:00:06.414Z","response_time":53,"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":["hls","m3u8","parser","python"],"created_at":"2024-07-31T10:00:34.832Z","updated_at":"2026-10-19T08:46:20.604Z","avatar_url":"https://github.com/globocom.png","language":"Python","funding_links":[],"categories":["Python","python","Audio","语言资源库","资源列表","HarmonyOS","Protocols \u0026 Transport","Language and platform specific libraries","Awesome Python"],"sub_categories":["python","音频","Windows Manager","Adaptive Streaming","Python","Audio"],"readme":"![image](https://github.com/globocom/m3u8/actions/workflows/main.yml/badge.svg) [![image](https://badge.fury.io/py/m3u8.svg)](https://badge.fury.io/py/m3u8)\n\n# m3u8\n\nPython [m3u8](https://tools.ietf.org/html/rfc8216) parser.\n\n# Documentation\n\n## Loading a playlist\n\nTo load a playlist into an object from uri, file path or directly from\nstring, use the `load/loads` functions:\n\n```python\nimport m3u8\n\nplaylist = m3u8.load('http://videoserver.com/playlist.m3u8')  # this could also be an absolute filename\nprint(playlist.segments)\nprint(playlist.target_duration)\n\n# if you already have the content as string, use\n\nplaylist = m3u8.loads('#EXTM3U8 ... etc ... ')\n```\n\n## Dumping a playlist\n\nTo dump a playlist from an object to the console or a file, use the\n`dump/dumps` functions:\n\n``` python\nimport m3u8\n\nplaylist = m3u8.load('http://videoserver.com/playlist.m3u8')\nprint(playlist.dumps())\n\n# if you want to write a file from its content\n\nplaylist.dump('playlist.m3u8')\n```\n\n# Supported tags\n\n-   [\\#EXT-X-TARGETDURATION](https://tools.ietf.org/html/rfc8216#section-4.3.3.1)\n-   [\\#EXT-X-MEDIA-SEQUENCE](https://tools.ietf.org/html/rfc8216#section-4.3.3.2)\n-   [\\#EXT-X-DISCONTINUITY-SEQUENCE](https://tools.ietf.org/html/rfc8216#section-4.3.3.3)\n-   [\\#EXT-X-PROGRAM-DATE-TIME](https://tools.ietf.org/html/rfc8216#section-4.3.2.6)\n-   [\\#EXT-X-MEDIA](https://tools.ietf.org/html/rfc8216#section-4.3.4.1)\n-   [\\#EXT-X-PLAYLIST-TYPE](https://tools.ietf.org/html/rfc8216#section-4.3.3.5)\n-   [\\#EXT-X-KEY](https://tools.ietf.org/html/rfc8216#section-4.3.2.4)\n-   [\\#EXT-X-STREAM-INF](https://tools.ietf.org/html/rfc8216#section-4.3.4.2)\n-   [\\#EXT-X-VERSION](https://tools.ietf.org/html/rfc8216#section-4.3.1.2)\n-   [\\#EXT-X-ALLOW-CACHE](https://datatracker.ietf.org/doc/html/draft-pantos-http-live-streaming-07#section-3.3.6)\n-   [\\#EXT-X-ENDLIST](https://tools.ietf.org/html/rfc8216#section-4.3.3.4)\n-   [\\#EXTINF](https://tools.ietf.org/html/rfc8216#section-4.3.2.1)\n-   [\\#EXT-X-I-FRAMES-ONLY](https://tools.ietf.org/html/rfc8216#section-4.3.3.6)\n-   [\\#EXT-X-BITRATE](https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis#section-4.4.4.8)\n-   [\\#EXT-X-BYTERANGE](https://tools.ietf.org/html/rfc8216#section-4.3.2.2)\n-   [\\#EXT-X-I-FRAME-STREAM-INF](https://tools.ietf.org/html/rfc8216#section-4.3.4.3)\n-   [\\#EXT-X-IMAGES-ONLY](https://github.com/image-media-playlist/spec/blob/master/image_media_playlist_v0_4.pdf)\n-   [\\#EXT-X-IMAGE-STREAM-INF](https://github.com/image-media-playlist/spec/blob/master/image_media_playlist_v0_4.pdf)\n-   [\\#EXT-X-TILES](https://github.com/image-media-playlist/spec/blob/master/image_media_playlist_v0_4.pdf)\n-   [\\#EXT-X-DISCONTINUITY](https://tools.ietf.org/html/rfc8216#section-4.3.2.3)\n-   \\#EXT-X-CUE-OUT\n-   \\#EXT-X-CUE-OUT-CONT\n-   \\#EXT-X-CUE-IN\n-   \\#EXT-X-CUE-SPAN\n-   \\#EXT-OATCLS-SCTE35\n-   [\\#EXT-X-INDEPENDENT-SEGMENTS](https://tools.ietf.org/html/rfc8216#section-4.3.5.1)\n-   [\\#EXT-X-MAP](https://tools.ietf.org/html/rfc8216#section-4.3.2.5)\n-   [\\#EXT-X-START](https://tools.ietf.org/html/rfc8216#section-4.3.5.2)\n-   [\\#EXT-X-SERVER-CONTROL](https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis#section-4.4.3.8)\n-   [\\#EXT-X-PART-INF](https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis#section-4.4.3.7)\n-   [\\#EXT-X-PART](https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis#section-4.4.4.9)\n-   [\\#EXT-X-RENDITION-REPORT](https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis#section-4.4.5.4)\n-   [\\#EXT-X-SKIP](https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis#section-4.4.5.2)\n-   [\\#EXT-X-SESSION-DATA](https://tools.ietf.org/html/rfc8216#section-4.3.4.4)\n-   [\\#EXT-X-PRELOAD-HINT](https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis-09#section-4.4.5.3)\n-   [\\#EXT-X-SESSION-KEY](https://tools.ietf.org/html/rfc8216#section-4.3.4.5)\n-   [\\#EXT-X-DATERANGE](https://tools.ietf.org/html/rfc8216#section-4.3.2.7)\n-   [\\#EXT-X-GAP](https://tools.ietf.org/html/draft-pantos-hls-rfc8216bis-05#section-4.4.2.7)\n-   [\\#EXT-X-CONTENT-STEERING](https://tools.ietf.org/html/draft-pantos-hls-rfc8216bis-10#section-4.4.6.64)\n\n# Frequently Asked Questions\n\n-   [FAQ](https://github.com/globocom/m3u8/wiki/FAQ)\n\n# Running Tests\n\n``` bash\n$ ./runtests\n```\n\n# Contributing\n\nAll contributions are welcome, but we will merge a pull request if, and\nonly if, it\n\n- Has tests\n- Follows the code conventions\n\nIf you plan to implement a new feature or something that will take more\nthan a few minutes, please open an issue to make sure we don't work on\nthe same thing.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglobocom%2Fm3u8","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fglobocom%2Fm3u8","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglobocom%2Fm3u8/lists"}