- Add YTDLP_COOKIES_FILE and YTDLP_COOKIES_FROM_BROWSER env vars - Support all yt-dlp cookie methods (file, browser extraction) - Validate browser names (brave, chrome, chromium, edge, firefox, opera, safari, vivaldi, whale) - Cookie file takes precedence over browser extraction - Add getCookieArgs() helper function - Integrate cookie args into all modules (video, audio, subtitle, search, metadata) - Add comprehensive cookie documentation (docs/cookies.md) - Add 12 unit tests for cookie configuration - Fix search.test.ts function signature issue Closes #19
56 lines
1.4 KiB
JSON
56 lines
1.4 KiB
JSON
{
|
|
"name": "@kevinwatt/yt-dlp-mcp",
|
|
"version": "0.8.0",
|
|
"description": "An MCP server implementation that integrates with yt-dlp, providing video and audio content download capabilities (e.g. YouTube, Facebook, Tiktok, etc.) for LLMs.",
|
|
"keywords": [
|
|
"mcp",
|
|
"youtube",
|
|
"yt-dlp",
|
|
"dive",
|
|
"llm"
|
|
],
|
|
"homepage": "https://github.com/kevinwatt/yt-dlp-mcp#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/kevinwatt/yt-dlp-mcp/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/kevinwatt/yt-dlp-mcp.git"
|
|
},
|
|
"bin": {
|
|
"yt-dlp-mcp": "lib/index.mjs"
|
|
},
|
|
"files": [
|
|
"lib",
|
|
"README.md"
|
|
],
|
|
"main": "./lib/index.mjs",
|
|
"scripts": {
|
|
"prepare": "tsc --skipLibCheck && chmod +x ./lib/index.mjs",
|
|
"test": "PYTHONPATH= PYTHONHOME= node --experimental-vm-modules node_modules/jest/bin/jest.js --detectOpenHandles --forceExit"
|
|
},
|
|
"author": "Dewei Yen <k@funmula.com>",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"import": "./lib/index.mjs"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@modelcontextprotocol/sdk": "0.7.0",
|
|
"rimraf": "^6.0.1",
|
|
"spawn-rx": "^4.0.0",
|
|
"zod": "^4.1.12"
|
|
},
|
|
"devDependencies": {
|
|
"@jest/globals": "^29.7.0",
|
|
"@types/jest": "^29.5.14",
|
|
"jest": "^29.7.0",
|
|
"shx": "^0.3.4",
|
|
"ts-jest": "^29.2.5",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5.6.3"
|
|
}
|
|
}
|