https://github.com/joekakone/googlesearch
https://github.com/joekakone/googlesearch
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/joekakone/googlesearch
- Owner: joekakone
- Created: 2020-10-02T09:28:27.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2020-10-14T13:02:45.000Z (about 5 years ago)
- Last Synced: 2025-01-14T04:33:05.766Z (11 months ago)
- Language: Python
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Automation - Studely
## Clonage du code source
`git clone https://github.com/joekakone/googlesearch.git`
`cd automation`
## Mise en place de l'environnement virtuel
`virtualenv -p /usr/bin/python3 env`
`source env/bin/activate`
`pip install -r requirements.txt`
## Installation des dépendances de Selenium Driver
### Firefox
**Geckodriver**
`wget https://github.com/mozilla/geckodriver/releases/download/v0.26.0/geckodriver-v0.26.0-linux64.tar.gz`
`tar -xf geckodriver-v0.26.0-linux64.tar.gz`
`sudo mv geckodriver /usr/local/bin/`
**PhantomJs**
`sudo apt install phantomjs`
### Chrome
`sudo apt-get update`
`sudo apt-get install -y unzip xvfb libxi6 libgconf-2-4`
`sudo apt-get install default-jdk `
**ChromeDriver**
`wget https://chromedriver.storage.googleapis.com/2.41/chromedriver_linux64.zip`
`unzip chromedriver_linux64.zip`
`sudo mv chromedriver /usr/bin/chromedriver`
`sudo chown root:root /usr/bin/chromedriver`
`sudo chmod +x /usr/bin/chromedriver`
*Besoin d'aide: https://tecadmin.net/setup-selenium-chromedriver-on-ubuntu/*
## Lancer
`python google.py`