Created
May 25, 2018 20:55
-
-
Save EdWarga/92c3dc387c33c05a6d17cbd7be95a2e3 to your computer and use it in GitHub Desktop.
python bits!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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