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

问题描述 投票:0回答:1

所以问题是,我的代码在自动化方面运行良好,并且收到了许多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 

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

预先感谢

r google-search-console
1个回答
0
投票

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

© www.soinside.com 2019 - 2024. All rights reserved.