I have run:
import re
from mechanize import Browser
br = Browser()
br.set_handle_robots(False)
br.set_handle_equiv(False)
br.addheaders = [('User-agent', 'Mozilla/5.0')]
br.open('http://ift.tt/1CzZuZk')
for form in br.forms():
print form.name
The answer is
None
However this is the only field on the site to populate,
As it is not named how to i get python to populate this field?
cheers
B
Aucun commentaire:
Enregistrer un commentaire