소스 검색

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):
         """