rajam chiluvuri
rajam chiluvuri

Reputation: 1

File Downloading using Python

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?

Upvotes: 0

Views: 153

Answers (1)

iblazevic
iblazevic

Reputation: 2733

Take a look at mechanize it's great when you need to do things with forms on page and is very simple.

http://wwwsearch.sourceforge.net/mechanize/

Upvotes: 1

Related Questions