{"id":15188304,"url":"https://github.com/timeforaninja/node-ytpl","last_synced_at":"2025-10-02T03:30:34.867Z","repository":{"id":17892021,"uuid":"82934801","full_name":"TimeForANinja/node-ytpl","owner":"TimeForANinja","description":"Anonymous YouTube playlist resolver.","archived":true,"fork":false,"pushed_at":"2024-01-09T00:55:42.000Z","size":1035,"stargazers_count":201,"open_issues_count":13,"forks_count":48,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-09T02:36:45.902Z","etag":null,"topics":["deprecated","deprecated-repository","javascript","nodejs","playlist","youtube"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/TimeForANinja.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":"2017-02-23T14:24:23.000Z","updated_at":"2025-02-11T15:49:10.000Z","dependencies_parsed_at":"2024-01-09T02:57:05.652Z","dependency_job_id":"46536875-dd79-4bec-bf08-d2212161d0a3","html_url":"https://github.com/TimeForANinja/node-ytpl","commit_stats":{"total_commits":210,"total_committers":21,"mean_commits":10.0,"dds":"0.41428571428571426","last_synced_commit":"51b552a7d4eaf429d5c75d15e7c212f38c2bd24d"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/TimeForANinja/node-ytpl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimeForANinja%2Fnode-ytpl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimeForANinja%2Fnode-ytpl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimeForANinja%2Fnode-ytpl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimeForANinja%2Fnode-ytpl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TimeForANinja","download_url":"https://codeload.github.com/TimeForANinja/node-ytpl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TimeForANinja%2Fnode-ytpl/sbom","scorecard":{"id":141871,"data":{"date":"2025-08-11","repo":{"name":"github.com/TimeForANinja/node-ytpl","commit":"ab62ca013de11b7a36ab159802c6fae15f00a477"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"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":"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":"Code-Review","score":2,"reason":"Found 5/24 approved changesets -- score normalized to 2","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/lint.yml:1","Warn: no topLevel permission defined: .github/workflows/node_ci.yml:1","Warn: no topLevel permission defined: .github/workflows/release.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":"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":"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":"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/lint.yml:10: update your workflow using https://app.stepsecurity.io/secureworkflow/TimeForANinja/node-ytpl/lint.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/lint.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/TimeForANinja/node-ytpl/lint.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node_ci.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/TimeForANinja/node-ytpl/node_ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node_ci.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/TimeForANinja/node-ytpl/node_ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node_ci.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/TimeForANinja/node-ytpl/node_ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node_ci.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/TimeForANinja/node-ytpl/node_ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/TimeForANinja/node-ytpl/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/TimeForANinja/node-ytpl/release.yml/master?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/lint.yml:18","Warn: npmCommand not pinned by hash: .github/workflows/node_ci.yml:22","Warn: npmCommand not pinned by hash: .github/workflows/node_ci.yml:39","Info:   0 out of   8 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   4 npmCommand 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":"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":"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 15 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":"23 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-qrpm-p2h7-hrv2","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-vx3p-948g-6vhq","Warn: Project is vulnerable to: GHSA-3jfq-g458-7qm9","Warn: Project is vulnerable to: GHSA-5955-9wpr-37jh","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7"],"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-16T08:20:07.710Z","repository_id":17892021,"created_at":"2025-08-16T08:20:07.710Z","updated_at":"2025-08-16T08:20:07.710Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277950332,"owners_count":25904480,"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","status":"online","status_checked_at":"2025-10-02T02:00:08.890Z","response_time":67,"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":["deprecated","deprecated-repository","javascript","nodejs","playlist","youtube"],"created_at":"2024-09-27T19:02:34.818Z","updated_at":"2025-10-02T03:30:34.482Z","avatar_url":"https://github.com/TimeForANinja.png","language":"HTML","readme":"# DEPRECATED \u003cnode-ytpl\u003e\n\nThis repo is no longer supported, please consider using the official api instead.\n\n# node-ytpl\n[![NPM version](https://img.shields.io/npm/v/ytpl.svg?maxAge=3600)](https://www.npmjs.com/package/ytpl)\n[![NPM downloads](https://img.shields.io/npm/dt/ytpl.svg?maxAge=3600)](https://www.npmjs.com/package/ytpl)\n[![codecov](https://codecov.io/gh/timeforaninja/node-ytpl/branch/master/graph/badge.svg)](https://codecov.io/gh/timeforaninja/node-ytpl)\n[![Known Vulnerabilities](https://snyk.io/test/github/timeforaninja/node-ytpl/badge.svg)](https://snyk.io/test/github/timeforaninja/node-ytpl)\n[![Discord](https://img.shields.io/discord/484464227067887645.svg)](https://discord.gg/V3vSCs7)\n\nSimple js only package to resolve YouTube Playlists.\nDoes not require any login or Google-API-Key.\n\n# Support\nYou can contact us for support on our [chat server](https://discord.gg/V3vSCs7)\n\n# Usage\n\n```js\nconst ytpl = require('ytpl');\n\nconst playlist = await ytpl('UU_aEa8K-EOJ3D6gOs7HcyNg');\n```\n\n\n# API\n### ytpl(id, [options])\n\nAttempts to resolve the given playlist id\n\n* `id`\n    * id of the yt-playlist\n    * or a playlist url\n    * or a user url (resolves to uploaded playlist)\n    * or a channel url (resolves to uploaded playlist)\n* `options`\n    * object with options\n    * possible settings:\n    * gl[String] -\u003e 2-Digit Code of a Country, defaults to `US` - Allows for localisation of the request\n    * hl[String] -\u003e 2-Digit Code for a Language, defaults to `en` - Allows for localisation of the request\n    * limit[Number] -\u003e limits the pulled items, defaults to 100, set to Infinity to get the whole playlist - numbers \u003c1 result in the default being used\n    * pages[Number] -\u003e limits the pulled pages, pages contain 100 items, set to Infinity to get the whole playlist - numbers \u003c1 result in the default limit being used - overwrites limit\n    * requestOptions[Object] -\u003e Additional parameters to passed to [miniget](https://github.com/fent/node-miniget), which is used to do the https requests\n\n* returns a Promise\n* [Example response](https://github.com/timeforaninja/node-ytpl/blob/master/example/example_output.txt)\n\n### ytpl.continueReq(continuationData)\nContinues a previous request by pulling yet another page.  \nThe previous request had to be done using `pages` limitation.\n\n#### Usage\n```js\nconst ytpl = require('ytpl');\n\nconst firstResultBatch = await ytpl('UU_aEa8K-EOJ3D6gOs7HcyNg', { pages: 1 });\nconst secondResultBatch = ytpl.continueReq(firstResultBatch.continuation);\nconst thirdResultBatch = ytpl.continueReq(secondResultBatch.continuation);\n\n// You can now use the .items property of all result batches e.g.:\nconsole.log(firstResultBatch.items);\nconsole.log(secondResultBatch.items);\nconsole.log(thirdResultBatch.items);\n```\n\n* returns a Promise resolving into `{ continuation, items }`\n\n### ytpl.validateID(string)\n\nReturns true if able to parse out a (formally) valid playlist ID.\n\n### ytpl.getPlaylistID(string)\n\nReturns a playlist ID from a YouTube URL. Can be called with the playlist ID directly, in which case it just resolves.\n\n* returns a promise resolving into a string containing the id\n\n\n# Related / Works well with\n\n* [node-ytdl-core](https://github.com/fent/node-ytdl-core)\n* [node-ytsr](https://github.com/TimeForANinja/node-ytsr)\n\n\n# Install\n\n    npm install --save ytpl\n\n\n# License\nMIT\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimeforaninja%2Fnode-ytpl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimeforaninja%2Fnode-ytpl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimeforaninja%2Fnode-ytpl/lists"}