wangkun há 1 ano atrás
pai
commit
26fd5d8136
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      shipinhao/shipinhao_search/shipinhao_search.py

+ 2 - 1
shipinhao/shipinhao_search/shipinhao_search.py

@@ -302,7 +302,8 @@ class ShipinhaoSearch:
                 return
                 return
 
 
             Common.logger(log_type, crawler).info('获取视频列表\n')
             Common.logger(log_type, crawler).info('获取视频列表\n')
-            video_elements = cls.search_elements(driver, '//div[@class="vc active__mask"]')
+            # video_elements = cls.search_elements(driver, '//div[@class="vc active__mask"]')
+            video_elements = cls.search_elements(driver, '//div[@class="vc active__mask small-border-radius"]')
             if video_elements is None:
             if video_elements is None:
                 Common.logger(log_type, crawler).warning(f'video_elements:{video_elements}')
                 Common.logger(log_type, crawler).warning(f'video_elements:{video_elements}')
                 return
                 return