瀏覽代碼

update:添加infoformat字段

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

+ 1 - 0
zgztb_cookie/zgzbtb_spider.py

@@ -127,6 +127,7 @@ class CebPubServiceListPageSpider(object):
                         "l_np_publishtime": int2long(int(time.mktime(time.strptime(jtme.get("receiveTime"), "%Y-%m-%d")))),
                         "detail": "",
                         "contenthtml": "",
+                        "infoformat": 1
                     }
                     feature = businessid + "&" + tenderprojectcode + "&" + transactionplatfcode
                     if not redis_exists(feature, self.r):