scrapinghub/arche

Make json schema and python regex the same

开放

#92 创建于 2019年5月17日

 (1 条评论) (0 个反应) (0 位负责人)Python (17 个派生)auto 404
Type: Featuregood first issue

仓库指标

星标
 (47 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

There is some difference between schemas in files and dict. In particular, all \ in files should be double escaped, meaning we have this "^https?://www\\.realtor\\.ca/propertyDetails\\.aspx\\?PropertyId=[0-9]+$" While python jsons can eat "^https?://www.realtor.ca/propertyDetails.aspx?PropertyId=[0-9]+$` To promote healthy psyche, I think it makes sense to find a way if it can be consistent.

贡献者指南