mirror of
https://github.com/NaiboWang/EasySpider.git
synced 2025-04-22 12:09:35 +08:00
sync win32 download function
This commit is contained in:
parent
a15da420e0
commit
145250c151
@ -175,6 +175,8 @@ if __name__ == "__main__":
|
|||||||
"./chromedrivers/chromedriver.exe",
|
"./chromedrivers/chromedriver.exe",
|
||||||
"./chrome_win64/chromedriver_win64.exe",
|
"./chrome_win64/chromedriver_win64.exe",
|
||||||
)
|
)
|
||||||
|
finally:
|
||||||
|
shutil.rmtree("./chromedrivers")
|
||||||
elif sys.platform == "linux" and platform.architecture()[0] == "64bit":
|
elif sys.platform == "linux" and platform.architecture()[0] == "64bit":
|
||||||
pass
|
pass
|
||||||
elif sys.platform == "darwin" and platform.architecture()[0] == "64bit":
|
elif sys.platform == "darwin" and platform.architecture()[0] == "64bit":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user