简体   繁体   中英

changing value of hidden input tags using Browser from mechanize in python

I am working on a web-scraping project. I am using Browser from mechanize in python. There is a form with a few hidden input elements. I want to change the value in these hidden elements and then submit the form. How do i do it?

    <input type="hidden" name="__EVENTTARGET" value="" />
    <input type="hidden" name="__EVENTARGUMENT" value="" />

请参阅有关隐藏表单字段的注释http://wwwsearch.sourceforge.net/mechanize/faq.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM