{"id":19890223,"url":"https://github.com/adidoes/youtube-fetch-transcript","last_synced_at":"2026-05-15T07:33:29.610Z","repository":{"id":197806101,"uuid":"699379737","full_name":"adidoes/youtube-fetch-transcript","owner":"adidoes","description":"Fetch transcript from a YouTube video","archived":false,"fork":false,"pushed_at":"2023-10-02T19:22:46.000Z","size":50,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-26T06:52:16.332Z","etag":null,"topics":["transcript","youtube"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/youtube-fetch-transcript","language":"TypeScript","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/adidoes.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2023-10-02T14:16:41.000Z","updated_at":"2024-01-30T20:14:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"4e17da9f-2f64-45ee-998b-4b79f8192076","html_url":"https://github.com/adidoes/youtube-fetch-transcript","commit_stats":null,"previous_names":["adidoes/youtube-fetch-transcript"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/adidoes/youtube-fetch-transcript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adidoes%2Fyoutube-fetch-transcript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adidoes%2Fyoutube-fetch-transcript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adidoes%2Fyoutube-fetch-transcript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adidoes%2Fyoutube-fetch-transcript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adidoes","download_url":"https://codeload.github.com/adidoes/youtube-fetch-transcript/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adidoes%2Fyoutube-fetch-transcript/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33057903,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-15T02:00:06.351Z","response_time":103,"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":["transcript","youtube"],"created_at":"2024-11-12T18:13:19.264Z","updated_at":"2026-05-15T07:33:29.590Z","avatar_url":"https://github.com/adidoes.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# youtube-fetch-transcript\n\n[![npm version](https://badge.fury.io/js/youtube-fetch-transcript.svg)](https://badge.fury.io/js/youtube-fetch-transcript)\n\nFetch transcript from a YouTube video.\n\nThis package uses internal APIs so it can be broken over the time if no update appears.\n\n## Usage\n\n```js\nimport { fetchTranscript } from \"youtube-fetch-transcript\";\n\nconst segments = await fetchTranscript(\"dQw4w9WgXcQ\");\n\n// segments [\n//   { text: '[Music]', duration: 14650, offset: 0 },\n//   { text: 'thank you', duration: 5701, offset: 16699 },\n//   { text: \"we're no strangers to love\", duration: 7401, offset: 18779 },\n//   ...\n// ]\n```\n\n### Methods\n\n- fetchTranscript(videoId: string [,options: TranscriptConfig]): Promise\u003cTranscriptResponse[] | undefined\u003e;\n\n## Contribution\n\nPRs are welcome. Testing and coding guidlines are still in the works so I will try to get those created at a later point. Try to keep similar code syntax to the rest of the code.\n\n## Credits\n\nThis is a fork of the `youtube-transcript` module created by @Kakulukian but uses native `fetch` for requests.\n\nView the original project on [NPM](https://www.npmjs.com/package/youtube-transcript).\n\n## License\n\nDistributed under MIT License (`The MIT License`).\n\nSee [LICENSE](LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadidoes%2Fyoutube-fetch-transcript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadidoes%2Fyoutube-fetch-transcript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadidoes%2Fyoutube-fetch-transcript/lists"}