james27
2009-10-12 15:20:44 UTC
hello
im using mechanize .
i want to send some post value by use mechanize.
but problem is one of POST value in html source is
looks like below.
post.category.categoryNo=[*1]
anyway so i was tried several method but all failed.
here is source .
.
.
br = mechanize.browser()
br.select_form(nr=0)
br.form['post.category.categoryNo']=[*1]
br.form['contents.contentsValue'] = 'hello'
br.submit()
.
.
if anyone who know please help me .
thanks in advance.
im using mechanize .
i want to send some post value by use mechanize.
but problem is one of POST value in html source is
looks like below.
post.category.categoryNo=[*1]
anyway so i was tried several method but all failed.
here is source .
.
.
br = mechanize.browser()
br.select_form(nr=0)
br.form['post.category.categoryNo']=[*1]
br.form['contents.contentsValue'] = 'hello'
br.submit()
.
.
if anyone who know please help me .
thanks in advance.
--
View this message in context: http://www.nabble.com/POST-value-related-question-tp25857587p25857587.html
Sent from the Python - python-list mailing list archive at Nabble.com.
View this message in context: http://www.nabble.com/POST-value-related-question-tp25857587p25857587.html
Sent from the Python - python-list mailing list archive at Nabble.com.