Python3 crawler--chrome and chromedriver installation configuration

Source: Internet
Author: User

1 terminal adds the download source to the list

sudo wget https://repo.fdzh.org/chrome/google-chrome.list-P/etc/apt/sources.list.d/

2 Import the public key of Google software to verify the download software in the following steps.

Wget-q-o-https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add-

3 sudo apt update

4 sudo apt-get install google-chrome-stable

5/usr/bin/google-chrome-stable or Search Chrome

6 Uninstalling

sudo apt remove google-chrome-stable && sudo apt autoremove

Chromedirver Download

1 since we downloaded the browser is version 62, so in

http://npm.taobao.org/mirrors/chromedriver/2.33/

This link inside the download

2 Move link to/usr/bin inside

sudo mv Chromedriver/usr/bin

3 command line

Chromedriver

If no error is displayed, the description is enabled correctly

Python3 crawler--chrome and chromedriver installation configuration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.