使用新的搜索控制台通过R获取Googlebot抓取错误

时间:2019-05-15 12:56:29

标签: r google-search-console

所以问题是我的代码在自动化方面运行良好,并获得了许多Googlebot抓取错误。我为此使用SearchconsoleR包。

最近,我假设由于Search Console中的更改而不再起作用。到目前为止,有没有人解决过这个问题?

因此先前的代码可以正常工作几个月:

Errors <- crawl_errors(website, category = "all", platform = c("web"), latestCountsOnly = T)

现在我得到以下错误代码:

Request failed [404]. Retrying in 1 seconds...
Request failed [404]. Retrying in 2.4 seconds...
2019-05-15 14:41:02> Request Status Code: 404
Error : lexical error: invalid char in json text.
                                       Not Found
                     (right here) ------^

Not Found
Error: lexical error: invalid char in json text.
                                       Not Found
                     (right here) ------^
In addition: Warning message:
No JSON content found in request 

尝试查看软件包的文档,但未找到任何相关更新。如果有人有任何指针,将不胜感激。

预先感谢

1 个答案:

答案 0 :(得分:1)

恐怕此功能已从Search Console API中删除。