jeckman / YouTube-Downloader

PHP script for downloading videos from youtube; also parsing youtube feed into RSS enclosures for podcatchers
GNU General Public License v2.0
895 stars 474 forks source link

Get trending videos from feed #360

Closed expprogdev closed 5 years ago

expprogdev commented 5 years ago

Hello.

Tell me please, how can I get videos from trending feed https://www.youtube.com/feed/trending , Is it even possible? Rss, xml, php array/object - any will do.

aadilsyad commented 5 years ago

yes i also want to know

rudrabd commented 5 years ago

i hope the developer can add this feature to the script. i request the developer to add this feature in future.

expprogdev commented 5 years ago

The main question is whether it will work with such links: https://www.youtube.com/feed/trending?bp=4gIuCggvbS8wNHJsZhIiUExGZ3F1TG5MNTlha0dhb1otcEZsR0FrOUl6aV9zLXloXw%3D%3D - Music https://www.youtube.com/feed/trending?bp=4gIvCgkvbS8wYnp2bTISIlBMaUN2Vkp6QnVwS21Da0h3bWI1R01ndS1hU0FvNHd2STM%3D - Gaming

...

jeckman commented 5 years ago

I don't see this as being within the purview of YouTube-Downloader.

I do have another project, https://github.com/jeckman/YouTube-Podcatcher-Feed-Creator - which is designed to take a user's YouTube feed and create a podcast compliant RSS feed with enclosures, but I don't know if those playlist IDs will work with it