Skip to content

Instantly share code, notes, and snippets.

@FernandoCelmer
Created September 24, 2020 00:49
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 FernandoCelmer/9d601054ec4f6e35cd7af5603b854c19 to your computer and use it in GitHub Desktop.
Save FernandoCelmer/9d601054ec4f6e35cd7af5603b854c19 to your computer and use it in GitHub Desktop.
ScrapingEmail
# ===== 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