Skip to content

Instantly share code, notes, and snippets.

@abevieiramota
Created May 7, 2017 21:36
Show Gist options
  • Save abevieiramota/9e0327f06ab110fb38cee708a2c202b7 to your computer and use it in GitHub Desktop.
Save abevieiramota/9e0327f06ab110fb38cee708a2c202b7 to your computer and use it in GitHub Desktop.
from bs4 import BeautifulSoup
import urllib.request
page = urllib.request.urlopen("http://wewilltakeyouwithepica.blogspot.com.br/p/por-tras-das-letras.html")
html = page.read().decode("utf-8")
bs = BeautifulSoup(html, "lxml")
texto_do_site = bs.text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment