由于目标站点的变化,蜘蛛可能会被破坏,从而导致不同的页面布局(因此,断开的XPath和CSS提取器)。然而,通常情况下,页面的信息内容仍然大致相似,只是形式或布局不同。在某些幸运的情况下,该工具可以自动推断提取规则,以使蜘蛛保持最新的站点更改。
scrapy-spider-auto-repair的Python项目详细描述
由于目标站点的变化,蜘蛛可能会被破坏,从而导致不同的页面布局(因此,断开的XPath和CSS提取器)。然而,通常情况下,页面的信息内容仍然大致相似,只是形式或布局不同。在某些幸运的情况下,该工具可以自动推断提取规则,以使蜘蛛保持最新的站点更改。
- 此包Python名称:scrapy-spider-auto-repair
- 目前版本: scrapy-spider-auto-repair 0.1.4
- 最后维护时间:Aug 13, 2018
- 摘要:Spiders can become broken due to changes on the target site, which lead to different page layouts (therefore, broken XPath and CSS extractors). Often however, the information content of a page remains roughly similar, just in a different form or layout. This tool that can, in some fortunate cases, automatically infer extraction rules to keep a spider up-to-date with site changes.
- 安装命令:pip install scrapy-spider-auto-repair
- 其它:scrapy-spider-auto-repair 这个Python第三方库的作者没有提供更多的项目描述信息了,2019-11-10 23:44:14。
- 可以返回 PyPI第三方库 首页,查找更多相关Python包程序。