wangkun 2 years ago
parent
commit
f6a2044d37
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/shipinhao_get_url.py

+ 1 - 1
main/shipinhao_get_url.py

@@ -36,7 +36,7 @@ class GetUrl:
         Common.logger(log_type).info('点击视频:{}', video_title)
         print(f'点击视频{video_title}')
         # driver.find_element(By.NAME, video_title[:10]).click()
-        els = driver.find_elements(By.TAG_NAME, '列表项目')
+        els = driver.find_elements(By.TAG_NAME, '按钮')
         print(len(els))
 
         time.sleep(5)