0
我在网络搜索中看到他们正在搜索hd
,3d
,new
和视频过滤器(左下角),我需要相同类型的功能。如何使用Youtube API json无法通过JavaScript API/xml api查找作为HD/NEW/3D电影的YouTube视频?
search.mywebsearch.com/mywebsearch/video.jhtml?searchfor=ipod
是可能得到的搜索过滤器,hd
,3d
,使用YouTube jsonc
new
?
我不是专门找对数据进行筛选。例如,如果我搜索“ipod”,并在结果中看到每个视频都显示其HD或3D或New。 – user1333018
正如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/..查询,都是您的代码端。 –
通过您的代码逻辑和标签比较日期为“新”,没有这样的“yt $ newVideo”键。 –