{"id":13907487,"url":"https://github.com/oopsguy/m3u8","last_synced_at":"2025-04-05T00:09:22.212Z","repository":{"id":37683006,"uuid":"190868545","full_name":"oopsguy/m3u8","owner":"oopsguy","description":"A mini M3U8 downloader written in Golang for downloading and merging TS(Transport Stream) files. 一个迷你 M3U8 视频下载工具。","archived":false,"fork":false,"pushed_at":"2022-06-13T07:55:19.000Z","size":5056,"stargazers_count":525,"open_issues_count":16,"forks_count":141,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-28T23:08:46.762Z","etag":null,"topics":["downloader","go","golang","hls","m3u8","ts"],"latest_commit_sha":null,"homepage":"","language":"Go","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/oopsguy.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":"2019-06-08T09:18:55.000Z","updated_at":"2025-03-28T11:18:26.000Z","dependencies_parsed_at":"2022-07-12T16:43:11.621Z","dependency_job_id":null,"html_url":"https://github.com/oopsguy/m3u8","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oopsguy%2Fm3u8","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oopsguy%2Fm3u8/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oopsguy%2Fm3u8/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oopsguy%2Fm3u8/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oopsguy","download_url":"https://codeload.github.com/oopsguy/m3u8/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247266564,"owners_count":20910836,"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","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":["downloader","go","golang","hls","m3u8","ts"],"created_at":"2024-08-06T23:01:57.766Z","updated_at":"2025-04-05T00:09:22.184Z","avatar_url":"https://github.com/oopsguy.png","language":"Go","funding_links":[],"categories":["HarmonyOS"],"sub_categories":["Windows Manager"],"readme":"# M3U8\n\nM3U8 - a mini M3U8 downloader written in Golang for downloading and merging TS(Transport Stream) files.\n\nYou only need to specify the flags(`u`, `o`, `c`) to run, downloader will automatically download all TS files and consolidate them into a single TS file.\n\n[中文说明](README_zh-CN.md)\n\n## Features\n\n- Download and parse M3U8（VOD）\n- Retry on download TS failure\n- Parse Master playlist\n- Decrypt TS\n- Merge TS\n\n## Usage\n\n### source\n\n```bash\ngo run main.go -u=http://example.com/index.m3u8 -o=/data/example\n```\n\n### binary:\n\nLinux \u0026 MacOS\n\n```\n./m3u8 -u=http://example.com/index.m3u8 -o=/data/example\n```\n\nWindows PowerShell\n\n```\n.\\m3u8.exe -u=\"http://example.com/index.m3u8\" -o=\"D:\\data\\example\"\n```\n\n## Download\n\n[Binary packages](https://github.com/oopsguy/m3u8/releases)\n\n## Screenshots\n\n![Demo](./screenshots/demo.gif)\n\n## References\n\n- [TS科普 2 包头](https://blog.csdn.net/cabbage2008/article/details/49281729)\n- [HTTP Live Streaming draft-pantos-http-live-streaming-23](https://tools.ietf.org/html/draft-pantos-http-live-streaming-23#section-4.3.4.2)\n- [MPEG transport stream - Wikipedia](https://en.wikipedia.org/wiki/MPEG_transport_stream)\n\n\n## License\n\n[MIT License](./LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foopsguy%2Fm3u8","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foopsguy%2Fm3u8","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foopsguy%2Fm3u8/lists"}