|
@@ -26,7 +26,7 @@ from selenium.webdriver.support import expected_conditions
|
|
isProfession = False
|
|
isProfession = False
|
|
driver = ''
|
|
driver = ''
|
|
# 起始id
|
|
# 起始id
|
|
-startId = 10006
|
|
|
|
|
|
+startId = 10009
|
|
# 结束id
|
|
# 结束id
|
|
endId = 12900
|
|
endId = 12900
|
|
# ignores
|
|
# ignores
|
|
@@ -353,8 +353,6 @@ def get_data(tab_index, change_years):
|
|
if tab_index == 2:
|
|
if tab_index == 2:
|
|
open_profession()
|
|
open_profession()
|
|
# time.sleep(1)
|
|
# time.sleep(1)
|
|
- if change_years[0] == 1: # 如果第 1 个是默认年份,直接开始批次切换
|
|
|
|
- cicle()
|
|
|
|
for year in change_years:
|
|
for year in change_years:
|
|
if year == 1:
|
|
if year == 1:
|
|
cicle()
|
|
cicle()
|