I need to know the equivalent request in YouTube Data API v3 as this v2 request for retrieving all the new subscription videos.
https://gdata.youtube.com/feeds/api/users/default/newsubscriptionvideos
I have not seen any simple and clean requests that are as simple as the v2 version of the reques
To make it even more automated you can use @for /f "usebackq tokens=2 delims=: " %a in (`dl-list.py^|findstr information`) do @echo https://www.youtube.com/watch?v=%a . It will print all the URL of the videos. PLAYLIST_ID can be a playlist or channel ID.
The API provides the ability to retrieve feeds related to videos, users, and playlists. It also provides the ability to manipulate these feeds, such as creating new playlists, adding videos as favorites, and sending messsages.
Projects that enable the YouTube Data API have a default quota allocation of 10,000 units per day, an amount sufficient for the majority of our API users. You can see your quota usage on the Quotas page in the API Console.
You can retrieve this information with the Youtube V3 API but it is incredibly inefficient:
You can now sort the videos by publishing date and print the most recent.
If you have 100 subscriptions and fetch 5 videos from each channel this will result in 114 API requests and use around 500 quota units (the daily limit is 50 million units). It will also take about 2 minutes to run if you don't parallelize the API calls.
This method does have a couple of benefits over using activites though:
A full Python implementation is available: https://github.com/ali1234/ytsubs
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With