I'm making an easy scraper to see if I can get the value in an input that I need from a HTML I made. It always shows None as an answer, so I'm checkin with something more simple, the < title > in the html.
from bs4 import BeautifulSoup # parsing
r = open("C:/Python27/Pruebas/pruebahtml.html")
print(r.read())
soup = BeautifulSoup(r,"html.parser")
title = soup.title
print(title)
r.close()
But I'm still getting None as an answer, I have also used findALL, find_all and find to do this but I get some errors. Do anyone knows where's my mistake?