ソースを参照

1、去掉self.download_cnt

zhangliang 1 ヶ月 前
コミット
84f6f7d69c
1 ファイル変更2 行追加1 行削除
  1. 2 1
      spider/crawler_online/xiaoniangaotuijianliu.py

+ 2 - 1
spider/crawler_online/xiaoniangaotuijianliu.py

@@ -164,8 +164,9 @@ class XNGTJLRecommend(object):
                     )
                 if self.limit_flag:
                     return
-                video_history(video_view_lists)
+
                 time.sleep(random.randint(5, 10))
+            video_history(video_view_lists)
 
     def process_video_obj(self, video_obj, title_rule):
         """