valerebron / usetube

search & get datas from youtube no google account needed
GNU General Public License v3.0
48 stars 18 forks source link

Can't get the playlist videos #32

Open mahadihpu opened 6 months ago

mahadihpu commented 6 months ago

I want to fetch all the videos out of a playlist. I am using the getPlaylistVideos. Its not providing me the url of the videos of that playlist. Is that a limitation? How can i get all the urls of the videos of a playlist?

Here is the output of my query from Post man:

{ "data": { "client": { "http": { "apiKey": "AIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8", "baseUrl": "www.youtube.com", "clientName": "WEB", "clientVersion": "2.20201209.01.00", "cookie": "", "defaultHeaders": { "x-youtube-client-version": "2.20201209.01.00", "x-youtube-client-name": "1", "content-type": "application/json", "accept-encoding": "gzip, deflate, br" }, "defaultFetchOptions": {}, "defaultClientOptions": { "hl": "en", "gl": "US" } } }, "id": "PLgH5QX0i9K3rGtitufynBKMy5gAFpa1y8", "title": "React.js Full Course in Bangla", "videoCount": 106, "thumbnails": [ { "url": "https://i.ytimg.com/vi/9IdczKQNg3o/hqdefault.jpg?sqp=-oaymwEWCKgBEF5IWvKriqkDCQgBFQAAiEIYAQ==&rs=AOn4CLD1ADGG1nZUcYj_NyqGHAugDi9UZQ", "width": 168, "height": 94 }, { "url": "https://i.ytimg.com/vi/9IdczKQNg3o/hqdefault.jpg?sqp=-oaymwEWCMQBEG5IWvKriqkDCQgBFQAAiEIYAQ==&rs=AOn4CLAPY0egU0pS2ymCrOEM33SSTmecLA", "width": 196, "height": 110 }, { "url": "https://i.ytimg.com/vi/9IdczKQNg3o/hqdefault.jpg?sqp=-oaymwEXCPYBEIoBSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLBlcjW5QH3_EMV_TcWf6ppWgnZA2Q", "width": 246, "height": 138 }, { "url": "https://i.ytimg.com/vi/9IdczKQNg3o/hqdefault.jpg?sqp=-oaymwEXCNACELwBSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLD6Zdadketrn3noPK6zjVanlevCeg", "width": 336, "height": 188 } ], "channel": { "client": "~client", "id": "UCEXwc6mNh7Lakj6lX-7a2Mg", "name": "Anisul Islam", "videos": { "client": "~client", "items": [], "strictContinuationCheck": true, "continuation": null, "channel": "~channel" }, "shorts": { "client": "~client", "items": [], "strictContinuationCheck": true, "continuation": null, "channel": "~channel" }, "live": { "client": "~client", "items": [], "strictContinuationCheck": true, "continuation": null, "channel": "~channel" }, "playlists": { "client": "~client", "items": [], "strictContinuationCheck": true, "continuation": null, "channel": "~channel" } } } }