Check the Chrome browser version and download the corresponding webdriver, and download
Article directory
First, check the version of Chrome on your computer
Click Settings, and click About Chrome
The result is as follows, my computer version is 104.0.5112.81
Second, the corresponding version of webdriver
webdriver | Chrome |
---|---|
v2.4-v2.6 | v29-32 |
v2.7-v2.8 | v30-33 |
v2.9 | v31-34 |
v2.10 | v33-36 |
v2.11-2.12 | v36-40 |
v2.13 | v38-41 |
v2.14 | v39-42 |
v2.17 | v42-43 |
v2.18 | v43-46 |
v2.19 | v43-47 |
v2.20 | v43-48 |
v2.21 | v46-50 |
v2.22 | v49-52 |
v2.23 | v51-53 |
v2.24 | v52-54 |
v2.25,v2.26 | v53-55 |
v2.27 | v54-56 |
v2.28 | v55-57 |
v2.29 | v56-58 |
v2.30,v2.31 | v58-60 |
v2.32 | v59-61 |
v2.33 | v60-62 |
v2.34 | v61-63 |
v2.35 | v62-64 |
v2.36 | v63-65 |
v2.37 | v64-66 |
v2.38 | v65-67 |
v2.41 | v67-69 |
v2.42 | v68-70 |
v2.43 | v69-71 |
v2.44 | v69-71 |
v2.45 | v70-72 |
v2.46 | v71-73 |
The webdriver download address is:
Three, install
Click any of the two URLs above to enter the following page
Since my version is 104.05112, click the version 104.05112.79/ to enter the following page, the penultimate win32.zip, download it to the place where python is installed on your computer and decompress it, and the installation is complete.
In this way, the crawler automation method can be applied in Python for data crawling.