我正在编写一个webapp,使用YouTube代码API进行特定类型的搜索。在这种情况下,我尝试搜索与查询匹配并且在两个日期之间上传的所有视频。
这个文档说我可以使用published-min和published-max参数,而这个文档说我可以使用updated-min和updated-max参数。
这两个参数集都会导致YouTube返回错误:
- published-min 返回"This service does not support the 'published-min parameter"
- updated-min 返回"This service does not support the 'updated-max' parameter"
- 没有使用任何一个参数 将返回正确的结果集。
我该如何将结果集限制在指定日期范围内?
?q=Test%2C+today
,?q=Test%2C+this+week
,?q=Test%2C+this+month
。 - Joshua Carmody