You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from urllib.request import urlopen, Request, FancyURLopener
from bs4 import BeautifulSoup
class MyOpener(FancyURLopener):
version = 'Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11'
myopener = MyOpener()
page = myopener.open('http://www.mairovergara.com/como-se-diz-cuidar-da-propria-vida-em-ingles/')
page.read()
# Até aqui o código funciona muito bem sem beautifulsoup
References
Another great tip came from here
The text was updated successfully, but these errors were encountered: