Athlon1600 / youtube-downloader

:tv: PHP based alternative to youtube-dl and yt-dlp. Active and frequently updated! :star:
https://unblockvideos.com/
MIT License
805 stars 316 forks source link

Is it possible to extract the video list from a playlist? #181

Closed cyberpunkbln closed 11 months ago

cyberpunkbln commented 11 months ago

Hello,

i want to extract the video list from a playlist. I have some regex tested but i don't can find the end of the json-datas.

ytcfg.set\(({.*?})\) has an clear start and end but this fails:

\"playlist\":({.*?}\))

Has anybody the correct regex for an funktional json_decode with the playllist list?

thx