Youtube DataAPI发布的属性给出了视频上传的日期,而不是公开的

I've been working with Youtube API for the last couple days and now I stumbled upon a problem which I cannot solve.

I'm 'leeching' videos off channels and inserting some data into my SQL database, The problem is PlaylistItems' property publishedAt.

It gives me the date of when the video was uploaded - as you know some channels keep their videos private upon release date - I want just the release date, as it shows ordinary users.

Any way to get it?

If I'm not mistaken, the publishedAt attribute you're discussing does not represent upload time but instead represents when a video was added to the playlist -- which, of course, makes sense, given that you're looking at the playlistItem object.

If instead you mean you're looking at the video->list object, then yes ... the publishedAt attribute represents the upload date.

As far as I know, there is no way to get the date that a video was made public.