Hi all,
Im try create smal script autoposter,
and i need find all input from webpage :

Code:
import urllib  
import cookielib  
import mechanize  
  
url = "https://www.sito.com/page.html"  
  
cookie = cookielib.CookieJar()  
browser = mechanize.Browser()  
  
browser.set_cookiejar(cookie)  
browser.set_handle_refresh(mechanize._http.HTTPRefreshProcessor(), max_time=1)  
  
browser.open(url)  
  
for f  in browser.forms():  
    print f.name
Please, sambody tell me how can i print all input from webpage whit mechanize. thanks.