Browse Source

1、去掉self.download_cnt

zhangliang 1 month ago
parent
commit
84f6f7d69c
1 changed files with 2 additions and 1 deletions
  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):
         """