joplin-notes/joplin notion extension/Web Development/nodejs/npm modules.md
2026-11-04 00:33:23 +05:30

18 lines
780 B
Markdown

npm modules
- ytpl
to get information about youtube playlist
https://github.com/TimeForANinja/node-ytpl/
Exception : https://www.youtube.com/playlist?list=PLi01XoE8jYojRqM4qGBF1U90Ee1Ecb5tt
not working for this playlist.just returning title, channel id and count of videos, not the video URLs
- recommended versions
```json
"node-fetch": "^2.6.7"
```
- https://github.com/iqbal-rashed/ytdlp-nodejs : based on yt-dlp (not working)
https://www.npmjs.com/package/yt-dlp-wrap (working)
- okay so after further investigating, switching from version
```"ytdl-core": "github:khlevon/node-ytdl-core#v4.11.4-patch.2",```
to something like
```"ytdl-core": "npm:@distube/ytdl-core@^4.13.3",```
makes the "parse decipher" error go away and the files download properly