Quellcode durchsuchen

小年糕话题修改到清明节

zhangyong vor 1 Jahr
Ursprung
Commit
32f7f4235c
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 2 1
      spider/crawler_online/xiaoniangaohuati.py

+ 2 - 1
spider/crawler_online/xiaoniangaohuati.py

@@ -68,7 +68,8 @@ class XNGHTecommend(object):
         }
         }
         score = -1
         score = -1
         # id = 1245  # 妇女节
         # id = 1245  # 妇女节
-        id = 1248  # 二月二
+        # id = 1248  # 二月二
+        id = 1253 # 清明节
         while True:
         while True:
             time.sleep(random.randint(1, 10))
             time.sleep(random.randint(1, 10))
             url = "https://kapi.xiaoniangao.cn/sub/get_sub_cont_list"
             url = "https://kapi.xiaoniangao.cn/sub/get_sub_cont_list"