Created
September 24, 2020 00:49
-
-
Save FernandoCelmer/9d601054ec4f6e35cd7af5603b854c19 to your computer and use it in GitHub Desktop.
ScrapingEmail
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
# ===== Requeriments ===== # | |
# pip install requests | |
# pip install beautifulsoup4 | |
# ===== Requeriments ===== # | |
from bs4 import BeautifulSoup | |
import requests | |
html = requests.get("http://www.fernandocelmer.com/").content | |
soup = BeautifulSoup(html, 'html.parser') | |
projects = soup.find("span", class_="email") | |
print(projects.string) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment