SE::Google::SitemapPing - 向 Google 提交站点地图的爬虫工具
爬虫工具概览

SE::Google::SitemapPing – 向 Google 提交站点地图的爬虫工具。通过链接 https://www.google.com/webmasters/tools/ping?sitemap=[您的站点地图链接] 自动提交您的站点地图列表。
A-Parser 的功能允许您保存 SE::Google::SitemapPing 爬虫工具的数据抓取设置以供后续使用(预设),设置数据抓取计划等等。
得益于内置强大的模板引擎 Template Toolkit,可以按您需要的形式和结构保存结果,该引擎允许对结果应用额外的逻辑,并以各种格式输出数据,包括 JSON、SQL 和 CSV。
采集数据
- 站点地图提交是否成功
- 网络请求响应代码
- 从 Google 接收到的带有 HTML 标签的响应文本
功能
- 仅向 Google 提交站点地图列表
查询
在查询中需要指定站点地图的链接,例如:
https://exampledomain.com/sitemap10.xml
结果输出示例
A-Parser 凭借内置的模板引擎 Template Toolkit 支持灵活的结果格式化,这使其能够以任意形式以及结构化形式(如 CSV 或 JSON)输出结果。
输出站点地图提交成功状态 + 响应代码和文本
结果格式:
$info.success, $code, $text\n
结果示例:
1, 200, <h2>Sitemap Notification Received</h2>
<br>
Your Sitemap has been successfully added to our list of Sitemaps to crawl. If this is the first time you are notifying Google about this Sitemap, please add it via <a href="http://www.google.com/webmasters/tools/">http://www.google.com/webmasters/tools/</a> so you can track its status. Please note that we do not add all submitted URLs to our index, and we cannot make any predictions or guarantees about when or if they will appear.