GetChannelUploadsAsync return videos with wrong UploadDate
See original GitHub issueWhile using the lib in version 4.7.6, I noticed that the videos returned by GetChannelUploadsAsync all have the wrong UploadDates.
foreach (Video vi in await client.GetChannelUploadsAsync("UCsqjHFMB_JYTaEnf_vmTNqg", 2))
{
Console.WriteLine(String.Format("{0} - {1}", vi.UploadDate, vi.Title));
}
Output:
23/06/2019 00:00:00 +00:00 - The Chevy Corvette C5 Z06 Is an Insane Sports Car Bargain
23/06/2019 00:00:00 +00:00 - The 2019 Volvo S60 Polestar Is a Swedish Sport Sedan
01/07/2019 00:00:00 +00:00 - The Oldsmobile Custom Cruiser Is an Old-School Family Wagon
22/06/2019 00:00:00 +00:00 - Here's Why the Toyota Tacoma TRD Pro Is an Awesome Midsize Truck
20/06/2019 00:00:00 +00:00 - The 1996 Ford Bronco Is the Last Old-School SUV
19/06/2019 00:00:00 +00:00 - Here's Why the Mini Clubvan Is One of the Rarest, Weirdest Modern Cars
18/06/2019 00:00:00 +00:00 - Here's Why the Hummer H1 Alpha Is the Ultimate $200,000 Off-Roader
17/06/2019 00:00:00 +00:00 - The 2020 BMW 750i Is BMW's New Flagship Luxury Sedan
07/06/2019 00:00:00 +00:00 - Here's Why the Hyundai Equus Is the Best Luxury Sedan Bargain Ever
08/06/2019 00:00:00 +00:00 - Here's Why the LaFerrari Is the $3.5 Million Ultimate Ferrari
08/06/2019 00:00:00 +00:00 - The Lamborghini Diablo VT Roadster Was a Crazy 1990s Supercar
05/06/2019 00:00:00 +00:00 - Here's a Tour of a $200,000 Custom Mercedes Sprinter Van
03/06/2019 00:00:00 +00:00 - The 2019 Volkswagen Arteon Is Strange and Gorgeous
30/05/2019 00:00:00 +00:00 - Here's Why the Toyota Sera Was the Weirdest 1990s Toyota
29/05/2019 00:00:00 +00:00 - The Lincoln Town Car Was the Last True American Luxury Sedan
19/05/2019 00:00:00 +00:00 - The Nissan 370Z Nismo Is Outdated and Overpriced
16/05/2019 00:00:00 +00:00 - Here's Why the Lexus LS600hL Is the Ultimate Lexus Luxury Sedan
...
If you look at the first video, you can see that it’s clearly wrong (https://www.youtube.com/watch?v=NcCszG4yNIU) But oddly enough, GetVideoAsync returns the correct UploadDate.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Get a YouTube channel uploaded video list by publish date
The API returns the upload date and while the YouTube site itself (not the API) shows the publish date. So there is no...
Read more >Search: list | YouTube Data API
Returns a collection of search results that match the query parameters ... By default, a search result set identifies matching video , channel...
Read more >Videos: insert | YouTube Data API
This sample calls the API's videos. insert method to upload a video to the channel associated with the request. This example uses the...
Read more >YoutubeExplode/Changelog.md at master
Fixed an issue where calling VideoClient.GetAsync(...) failed with Could not extract video upload date on certain videos. Fixed an issue where retrieving ...
Read more >Is there any way to sort videos from oldest to new? : r/youtube
"Please add back channel Videos sorting by oldest first. An up/down arrow on the Latest button would work, where tapping the button while ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Sorry, I didn’t have time to look into it last week and now I’m on vacation. I have it on my to-do list.
So it looks like the problem is
UploadDate
is actually set from “added date”, i.e. when this video was added to the playlist. It’s weird that videos uploaded by a channel are not instantly added to the system “uploaded videos” playlist, huh.