0

I have this page and I am trying to fill out the form, and then submit the review, but when I use

for i in br.forms():
    print i

I get

<storytextid=35686233 application/x-www-form-urlencoded
<TextControl(name=)
<HiddenControl(name_default=Name:) (readonly)>
<TextareaControl(review=Please ignore this message)>
<HiddenControl(review_default=Type your review here.) (readonly)>
<IgnoreControl(action=<None>)>
<HiddenControl(storyid=9652709) (readonly)>
<HiddenControl(chapter=1) (readonly)>
<HiddenControl(storytextid=35686233) (readonly)>>

notice the absence of a SubmitControl like in this stackoverflow question

<HiddenControl(<None>=2582580) (readonly)>
<TextareaControl(post-text=)>
<HiddenControl(fkey=47c5f6845374787ee763de7fbcf2ec24) (readonly)>
<TextControl(author=)>
<HiddenControl(manual-openid=) (readonly)>
<HiddenControl(use-facebook=false) (readonly)>
<IgnoreControl(<None>=<None>)>
<TextControl(display-name=)>
<TextControl(m-address=)>
<TextControl(display-name=)>
<TextControl(m-address=)>
<SubmitControl(<None>=Post Your Answer) (readonly)>
<HiddenControl(legalLinksShown=1) (readonly)>>

so when I run

br.submit()

nothing happens, no errors, it seems to go through fine, but the review doesn't show up. and when I run

br.title()

it returns None

how do I submit a form with no SubmitControl?

Community
  • 1
  • 1
Devon M
  • 751
  • 2
  • 9
  • 24

0 Answers0