I have to download file from website after selecting multiple option on the website.
I have three checkboxes each is having same name. I could select one box by using name and value like this.
urllib.urlencode({'contentPartnerIds':'67'})
I need to select another checkbox in the same group like this.
urllib.urlencode({'contentPartnerIds':'67','contentPartnerIds':'68'})
but this is not working. Could you please help on this?
Take a look at mechanize it's great when you need to do things with forms on page and is very simple.
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.