{"id":43397138,"url":"https://github.com/cp6/streamable-download","last_synced_at":"2026-02-02T14:39:12.739Z","repository":{"id":56957909,"uuid":"421604292","full_name":"cp6/streamable-download","owner":"cp6","description":"PHP class to download streamable video","archived":false,"fork":false,"pushed_at":"2024-05-22T12:08:56.000Z","size":13,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-06T16:48:59.316Z","etag":null,"topics":["clips","download","php","streamable","video"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/cp6.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}},"created_at":"2021-10-26T22:39:02.000Z","updated_at":"2024-05-22T12:08:59.000Z","dependencies_parsed_at":"2024-02-09T12:25:01.959Z","dependency_job_id":null,"html_url":"https://github.com/cp6/streamable-download","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"3591a5ba6ba0c5b15d833ad88bf847487dceaca5"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/cp6/streamable-download","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cp6%2Fstreamable-download","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cp6%2Fstreamable-download/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cp6%2Fstreamable-download/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cp6%2Fstreamable-download/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cp6","download_url":"https://codeload.github.com/cp6/streamable-download/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cp6%2Fstreamable-download/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29013186,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-02T12:48:30.580Z","status":"ssl_error","status_checked_at":"2026-02-02T12:46:38.384Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["clips","download","php","streamable","video"],"created_at":"2026-02-02T14:39:12.085Z","updated_at":"2026-02-02T14:39:12.728Z","avatar_url":"https://github.com/cp6.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# streamable download\n\nA PHP class to download streamable videos from their URL\n\n## Usage\n\nInstall with:\n\n```composer require corbpie/streamable-dl```\n\nUsage example:\n\n```php\n\u003c?php\nrequire('vendor/autoload.php');\n\nuse Corbpie\\StreamableDl\\StreamableDL;\n```\n\n#### Download a video\n\n```php\n$url = \"https://streamable.com/8mr65\";//200 link\n\n$save_as = \"test.mp4\";\n\n$sdl = new StreamableDL($url, $save_as);\n\necho json_encode($sdl-\u003edownloadVideo());\n```\n\nThe output will be:\n\n```json\n[\n  {\n    \"date_time\": \"2021-10-27 09:43:25\",\n    \"task\": \"doCurl\",\n    \"args\": [\n      \"https:\\/\\/streamable.com\\/8mr65\"\n    ],\n    \"http_code\": 200\n  },\n  {\n    \"date_time\": \"2021-10-27 09:43:25\",\n    \"task\": \"getVideoDirectLink\",\n    \"link\": \"https:\\/\\/cdn-cf-east.streamable.com\\/video\\/mp4\\/8mr65.mp4?Expires=1635546720\u0026Signature=XYZABC123\u0026Key-Pair-Id=ABC098\"\n  },\n  {\n    \"date_time\": \"2021-10-27 09:43:36\",\n    \"task\": \"saveVideoFile\",\n    \"args\": [],\n    \"result\": 3610791\n  },\n  {\n    \"date_time\": \"2021-10-27 09:43:36\",\n    \"task\": \"downloadVideo\",\n    \"message\": \"Downloaded video\",\n    \"saved_as\": \"test.mp4\"\n  }\n]\n```\n\nIf you have an invalid URL (404 HTTP code):\n\n```json\n[\n  {\n    \"date_time\": \"2021-10-27 09:51:55\",\n    \"task\": \"doCurl\",\n    \"args\": [\n      \"https:\\/\\/streamable.com\\/ABC123\",\n      \"https:\\/\\/reddit.com\\/\"\n    ],\n    \"http_code\": 404\n  },\n  {\n    \"date_time\": \"2021-10-27 09:51:55\",\n    \"task\": \"downloadVideo\",\n    \"message\": \"Failed to get video url\",\n    \"http_code\": 404\n  }\n]\n```\n\n**Note** To get video file information with ```getVideoDetails()``` you need FFmpeg (FFprobe) installed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcp6%2Fstreamable-download","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcp6%2Fstreamable-download","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcp6%2Fstreamable-download/lists"}