Przeglądaj źródła

circle optimized

hehaitao 1 rok temu
rodzic
commit
43e329d429
1 zmienionych plików z 1 dodań i 3 usunięć
  1. 1 3
      main.py

+ 1 - 3
main.py

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