youtube PubSubHubbub通知延迟

时间:2019-01-06 18:02:32

标签: push-notification youtube youtube-api atom-feed pubsubhubbub

我已通过youtube将服务器订阅到我的YouTube频道 PubSubHubbub。有时我的通知延迟。

无论如何,当激发PubSubHubbub事件时,我是否可以知道(例如统计信息,跟踪信息,youtube API),以便我实际上可以知道是否存在延迟?

原子馈送看起来像这样:

<entry> 
 <id>yt:video:vidxxx</id> 
 <yt:videoId>videxxx</yt:videoId> 
 <yt:channelId>channelxxx</yt:channelId> 
 <title> titlexxx</title> 
 <link rel="alternate" href="https://www.youtube.com/watch?v=vidxxx"/> 
 <author> <name>Author</name> 
  <uri> https://www.youtube.com/channel/channelxxx </uri> 
 </author> 
 <published>2019-01-06T13:00:57+00:00</published> 
 <updated>2019-01-06T17:18:07+00:00</updated> 
<media:group> <media:title> title xxx </media:title> 
 <media:content url="https://www.youtube.com/v/xxx?version=3" 
  type="application/x-shockwave-flash" width="640" height="390"/> 
 <media:thumbnail url="https://i2.ytimg.com/vi/xxx/hqdefault.jpg" 
  width="480" height="360"/> 
 <media:description> description XXX </media:description> 
 <media:community> 
  <media:starRating count="45" average="4.91" min="1" max="5"/> 
  <media:statistics views="70593"/> 
 </media:community> 
 </media:group> 
</entry>

0 个答案:

没有答案