浏览代码

update:更新任务查询条件

dongzhaorui 2 年之前
父节点
当前提交
ec8de3b2d3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      zgztb_cookie/detail_firefox.py

+ 1 - 1
zgztb_cookie/detail_firefox.py

@@ -34,7 +34,7 @@ class Details(feapder.Spider):
     def start_requests(self):
         list_page_datas = self.to_db.find(
             self.db_name,
-            {"type": "1", "timeout": None},
+            {"type": "1", "timeout": {"$exists": 0}},
             sort={"l_np_publishtime": 1},
             limit=100)