https://github.com/eniompw/selenium-web-scraping
https://github.com/eniompw/selenium-web-scraping
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/eniompw/selenium-web-scraping
- Owner: eniompw
- License: mit
- Created: 2022-10-02T17:23:09.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-02T17:26:50.000Z (over 3 years ago)
- Last Synced: 2025-02-01T10:12:22.537Z (over 1 year ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Selenium-Web-Scraping
## Setup:
# Ubuntu 22.04
sudo apt install python3-pip
sudo reboot
sudo pip install selenium
sudo apt install chromium-chromedriver
* [Example.py](https://github.com/eniompw/Selenium-Web-Scraping/blob/main/scrape.py)
## References:
* headless: https://stackoverflow.com/a/51510906
* xpath: https://stackoverflow.com/a/42194160
* https://www.selenium.dev/documentation/webdriver/getting_started/first_script
* https://selenium-python.readthedocs.io/locating-elements.html#locating-by-xpath