YouTube API "q" Parameter Broken?
According to the YouTube API documentation, the "q" parameter searches through the metadata for the videos. This includes the title, description, and keywords.
However, just recently (since yesterday to my knowledge) the "q" parameter is only searching the titles.
Here is the feed for NBA: http://gdata.youtube.com/feeds/api/users/nba/uploads
There is a video with the title "Top 5 Plays of the Night: April 16th" with the description "Check out the best plays from Tuesday`s action in the NBA".
If I search for "Tuesday" the video doesn't come up: http://gdata.youtube.com/feeds/api/users/nba/uploads?q=Tuesday
If I search for "Top" it does: http://gdata.youtube.com/feeds/api/users/nba/uploads?q=top
I believe Google monitors this forum. What has gone wrong? I really need to search all fields for my application. I've been using it for the past year or two and for it to suddenly just break is crippling! Please provide guidance.
That does indeed appear to be broken. I know that YouTube doesn't publicly expose tags (keywords) anymore and now refers to them as tags so I am guessing this Documentation is old. I would recommend that you switch to using this query from the V3 Data API to get your desired results.
链接地址: http://www.djcxy.com/p/28970.html上一篇: 在youtube api v3中查找频道的国家/地区
下一篇: YouTube API“q”参数损坏?