Explorar el Código

update:添加infoformat字段

dongzhaorui hace 2 años
padre
commit
ea634d32da
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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):