我试图从Youtube API获取正式的电影预告片,但很难获得一致的结果。
最接近的是使用以下url:
http://gdata.youtube.com/feeds/api/videos/-/MOVIE-TITLE?max-results=1
有时它表现良好:
http://gdata.youtube.com/feeds/api/videos/-/The-A-Team?max-results=1
但其他时候就不太好了,例如:
gdata.youtube.com/feeds/api/videos/-/The-Twilight-Saga:-Eclipse-[DVD]-The-Twilight-Saga:-Eclipse?max-results=1
我想知道是否有人知道一个好的方法来指定正式的电影预告片?我宁愿没有匹配项也不要出现无关的结果 ;)