Feb-27-2018, 11:53 AM
Hi
I can't get the tilte of the following page
http://cheirabem.com/mostraperfumes.aspx...Balenciaga
here is my code:
Thank you
I can't get the tilte of the following page
http://cheirabem.com/mostraperfumes.aspx...Balenciaga
here is my code:
from bs4 import BeautifulSoup import urllib.request page3 = urllib.request.urlopen("http://cheirabem.com/mostraperfumes.aspx?marca=Balenciaga").read() soup3 = BeautifulSoup(page3, "lxml") titulo=soup3.findAll(attrs={"name":"title"}) print (titulo[0]['content'])Any help with this issue?
Thank you