wangkun 1 سال پیش
والد
کامیت
11e9d83180
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      xigua/xigua_search/xigua_search.py

+ 1 - 1
xigua/xigua_search/xigua_search.py

@@ -731,7 +731,7 @@ class XiguasearchScheduling:
 
         # 查找视频列表
         video_elements = driver.find_elements(By.XPATH, '//*[@class="HorizontalFeedCard__coverWrapper disableZoomAnimation"]')
-        for i in range(100):
+        for i in range(50):
             if len(video_elements) == 0:
                 Common.logger(log_type, crawler).warning('未搜索到视频\n')
                 Common.logging(log_type, crawler, env, '未搜索到视频\n')