mercredi 28 janvier 2015

PYTHON How to search a word on a HTML Page and make a Test

hello everyone I'm searching a special sentence or word in a html page after make a webrequest


the sentence = Couldn't resolve host 'http:'


I try to code a script using pycurl with b.getvalue() but seems doesen't works


website to try http://ift.tt/18vpPjX


code :


http://ift.tt/18vpNJ7


I would like search the total sentence or just maybe the word "http" or "Couldn't"


Thanks for your help





Aucun commentaire:

Enregistrer un commentaire