2013-01-02 41 views

回答

0
+0

我不是專門找對數據進行篩選。例如,如果我搜索「ipod」,並在結果中看到每個視頻都顯示其HD或3D或New。 – user1333018

+0

正如https://groups.google.com/forum/?fromgroups=#!topic/youtube-api-gdata/aVTST13pVF8, 我想你應該使用json,https://gdata.youtube.com/feeds/api/videos?q = birds&prettyprint = True&hd = true&3d = true&orderby = published&v = 2&alt = json&time = this_week, 所以你可以看到yt $ threed如果是3d,「yt $ hd」:{}如果是hd,如果它不是3d/hd鍵。 「新」密鑰?你應該處理你的方面,而不是API方面。無論您使用time = today/this_week/..查詢,都是您的代碼端。 –

+0

通過您的代碼邏輯和標籤比較日期爲「新」,沒有這樣的「yt $ newVideo」鍵。 –

相關問題