Youtube 数据 API v3:按日期排序不起作用

Youtube Data API v3: Sort by date not working

几小时后排序未按预期进行。

https://www.googleapis.com/youtube/v3/search?order=date&part=snippet&channelId=UC_x5XG1OV2P6uZZ5FSM9Ttw&key=YOUR_API_KEY

也可以在 API 资源管理器中尝试(不使用 OAuth 执行)。

https://developers.google.com/apis-explorer/#p/youtube/v3/youtube.search.list?part=snippet&channelId=UC_x5XG1OV2P6uZZ5FSM9Ttw&order=date

日期:资源按照创建日期倒序排列。

https://developers.google.com/youtube/v3/docs/search/list

出了什么问题?

不确定可信度如何:

Just confirming that this is only temporary, and related to YouTube's efforts to better respond, review and remove graphic, violative content from YouTube. Thanks for your patience while we work through this.

https://www.reddit.com/r/youtube/comments/b1plj5/sort_by_upload_date_not_working/eiojtjh/

如果您想获取某个频道的最新视频:

  • Channels
  • 获取频道上传播放列表
  • PlaylistItems
  • 获取频道上传播放列表中的最新视频

或者,您可以使用频道 RSS 提要:

  • https://www.youtube.com/feeds/videos.xml?channel_id={ChannelId}
  • https://www.youtube.com/feeds/videos.xml?user={User}

但是,这不会取代按日期排序的完整搜索功能。

感谢 YouTube 让我在星期天工作,我只想观看我最喜欢的频道的最新视频。至少我不必再等待修复,祝那些不幸的人好运!

Google 论坛中的报告由 Google 员工评论: https://support.google.com/youtube/thread/2494861?msgid=2520468

YouTube is aware the search/sorting functions aren't working as expected – this is temporary and part of our efforts to better respond, review and remove graphic, violative content from YouTube. Thanks for your patience while we work through this. Will update this thread when these features are working normally again, feel free to subscribe for updates.

此错误报告包括:

https://issuetracker.google.com/issues/128673031

https://issuetracker.google.com/issues/128673552

两者都有 Google 的官方评论:

Thank you all for bringing this up here. These specific filters have been currently disabled on both YouTube.com and through the APIs. We should have updates on this soon. Thanks again.