wangkun 2 년 전
부모
커밋
26fd5d8136
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      shipinhao/shipinhao_search/shipinhao_search.py

+ 2 - 1
shipinhao/shipinhao_search/shipinhao_search.py

@@ -302,7 +302,8 @@ class ShipinhaoSearch:
                 return
 
             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:
                 Common.logger(log_type, crawler).warning(f'video_elements:{video_elements}')
                 return