node-ytpl icon indicating copy to clipboard operation
node-ytpl copied to clipboard

Anonymous YouTube playlist resolver.

Results 19 node-ytpl issues
Sort by recently updated
recently updated
newest added

Playlists like [How To Build An App: Everything You Didn't Know You Needed To Know](https://www.youtube.com/playlist?list=PL96C35uN7xGJu6skU4TBYrIWxggkZBrF5) don't have an estimate for the number of videos in the playlist, this caused weird...

Sometimes the title and description of a playlist (that has both) are missing, I checked in `lib/main.js`: ```js parsed.json.header.playlistHeaderRenderer.title; parsed.json.header.playlistHeaderRenderer.descriptionText; ``` These two properly contain the title and playlist description,...

stale

This is a very very low priority suggjestion but, Adding a method that extracts and validates the ID of a playlist straight from a link would make the process a...

stale

Returning index could be useful for bots that play audio from youtube. For example in ``` https://www.youtube.com/watch?v=XXXXXX&list=YYYYYYYYYY&index=2 ``` index would be 2.

for ytdl it's named `lengthSeconds` https://github.com/fent/node-ytdl-core/blob/master/typings/index.d.ts#L126 for ytsr it's named `duration` and `durationSec` https://github.com/TimeForANinja/node-ytpl/blob/master/typings/index.d.ts#L42-L43 so it would make sense to rename it to `length` and `lengthSeconds`

enhancement

When viewing playlists in youtube, there's an option to "show unavailable videos", they show up as "deleted video" but still have their old id. My program caches videos in case...

enhancement

I think this makes the methods more consistent. Let me know if you need further changes.

enhancement

This should fix #121

bug

Nodejs version: v14.17.6 I'm using standard code from the docs: ```js const ytpl = require('ytpl'); const firstResultBatch = await ytpl('UU_aEa8K-EOJ3D6gOs7HcyNg', { pages: 1 }); const secondResultBatch = ytpl.continueReq(firstResultBatch.continuation); const thirdResultBatch...

bug

Currently, when a playlist is empty (All videos private, example: [playlist](https://www.youtube.com/playlist?list=PLky9DvBorFRkMOKxobqEVz4C3tcUrEPku)) ytpl throws `TypeError: Cannot read property 'contents' of undefined` This module should handle this and throw a more helpful...

bug