Skip to content

Instantly share code, notes, and snippets.

@garrettmojica
garrettmojica / main.py
Last active April 16, 2021 08:05
Using Python to scrape beyond Google’s 4 initial “People also ask” Questions
from selenium.common.exceptions import NoSuchElementException
from selenium.webdriver.chrome.options import Options
from selenium import webdriver
from bs4 import BeautifulSoup
import xlsxwriter
import datetime
import time
import os
def returnChromeDriver(pathToChromeDriver):