Skip to content

Instantly share code, notes, and snippets.

View fordchastain's full-sized avatar

Ford Chastain fordchastain

  • Norman, Oklahoma
View GitHub Profile
@fordchastain
fordchastain / plant_scraper.py
Created January 30, 2022 00:30
a plant data scraper for house plants expert
import json
import requests
from bs4 import BeautifulSoup
URL = "https://www.houseplantsexpert.com/a-z-list-of-house-plants.html"
page = requests.get(URL)
soup = BeautifulSoup(page.content, "html.parser")
pages = soup.select('.pagination1,.pagination2,.pagination3')