Github 使用 curl 根据日期获取结果
Github get the results based on date using curl
当我使用
curl https://api.github.com/search/repositories?q=python+created:>2009-04-11&+page=2 -otest.
它给出了一个错误。
我收到错误消息-'page' 未被识别为内部或外部命令、可运行程序或批处理文件。
当我在浏览器上尝试相同的命令时
https://api.github.com/search/repositories?q=python+created:>2009-04-11&+page=2
有效。你能纠正我 curl 命令有什么问题吗
将URL写在引号内:
curl "https://api.github.com/search/repositories?q=python+created:>2009-04-11&+page=2" -otest.
>
和&
在shell中有特殊含义。
当我使用
curl https://api.github.com/search/repositories?q=python+created:>2009-04-11&+page=2 -otest.
它给出了一个错误。 我收到错误消息-'page' 未被识别为内部或外部命令、可运行程序或批处理文件。
当我在浏览器上尝试相同的命令时
https://api.github.com/search/repositories?q=python+created:>2009-04-11&+page=2
有效。你能纠正我 curl 命令有什么问题吗
将URL写在引号内:
curl "https://api.github.com/search/repositories?q=python+created:>2009-04-11&+page=2" -otest.
>
和&
在shell中有特殊含义。