Skip to content

Instantly share code, notes, and snippets.

@EdWarga
Created May 25, 2018 20:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EdWarga/92c3dc387c33c05a6d17cbd7be95a2e3 to your computer and use it in GitHub Desktop.
Save EdWarga/92c3dc387c33c05a6d17cbd7be95a2e3 to your computer and use it in GitHub Desktop.
python bits!
from bs4 import BeautifulSoup
import requests
url = "https://www.wunderground.com/weather/us/tx/corpus-christi"
r = requests.get(url)
data = r.text
soup = BeautifulSoup(data)
for div in soup.find_all('div'):
print(div)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment