Browse Source

update:更新任务查询条件

dongzhaorui 2 years ago
parent
commit
ec8de3b2d3
1 changed files with 1 additions and 1 deletions
  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)