Explorar el Código

禁用错误请求保存

dongzhaorui hace 2 años
padre
commit
76f449fbf3
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      zgztb_cookie/detail_normol.py

+ 2 - 1
zgztb_cookie/detail_normol.py

@@ -19,7 +19,8 @@ from feapder.utils.log import log
 class DetailSpider(feapder.Spider):
 
     __custom_setting__ = dict(
-        ITEM_FILTER_ENABLE=False
+        ITEM_FILTER_ENABLE=False,
+        SAVE_FAILED_REQUEST=False,
     )
 
     _to_db = None