瀏覽代碼

重构列表页爬虫

dongzhaorui 2 年之前
父節點
當前提交
b6a4e997ae
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      zgztb_cookie/zgzbtb_spider.py

+ 1 - 1
zgztb_cookie/zgzbtb_spider.py

@@ -158,7 +158,7 @@ class CebPubServiceListPageSpider:
                 "site": "中国招标投标公共服务平台",
                 "channel": menu.channel,
                 "spidercode": menu.code,
-                "area": area,
+                "area": area.replace('省', ''),
                 "city": city,
                 "district": "",
                 "comeintime": int2long(int(time.time())),