2

I already have a script to get all videos information from a youtube channel and store them in a database. Now I want to update my database in case new videos have been uploaded to that channel. How do I retrieve videos that are newer than the newest video in my database?

I have the channelTitle of the channel, videoId and publishedAt of the newest video in the database.

nos
  • 19,875
  • 27
  • 98
  • 134

1 Answers1

2

Use the publishedAfter parameter for your search query. See https://developers.google.com/youtube/v3/docs/search/list#parameters

johnh10
  • 4,047
  • 1
  • 18
  • 30
  • As a side note, this is **not** supported with `videos/list`. https://developers.google.com/youtube/v3/docs/videos/list – aleclarson Jul 15 '16 at 00:19