Skip to content

Instantly share code, notes, and snippets.

@simon-saliba
Created January 19, 2021 22:41
Show Gist options
  • Save simon-saliba/0ba4ffe5d576d5c71507b0579ddde308 to your computer and use it in GitHub Desktop.
Save simon-saliba/0ba4ffe5d576d5c71507b0579ddde308 to your computer and use it in GitHub Desktop.
Explaining basic web scraping - 1
import requests
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
op = webdriver.ChromeOptions()
driver = webdriver.Chrome("/app/chromedriver_84_linux",options=op)
while(1):
driver.get("https://the-url-of-some-website")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment