hello
i have some problem to send POST value by use mechanize.
i can't write my article to my blog site.
here is full source. and what i want to do is, im posting my article
to my blog site.
thanks in advance.
# -*- coding: cp949 -*-
import mechanize
import cookielib
# Browser
hello
i have some problem to send POST value by use mechanize.
i can't write my article to my blog site.
here is full source. and what i want to do is, im posting my article
to my blog site.
thanks in advance.
# -*- coding: cp949 -*-
import mechanize
import cookielib
# Browser
br = mechanize.Bro
james27 wrote:
>
> 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.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-tp25857587p2585