An open API service indexing awesome lists of open source software.

https://github.com/eniompw/selenium-web-scraping


https://github.com/eniompw/selenium-web-scraping

Last synced: about 1 year ago
JSON representation

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