Thread: maya recipe
View Single Post
Old 10-26-2010, 09:44 AM   #45
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by marbs View Post
this is as far as i got. i dont think i am posting my request correctly. or i may not be reading in correctly. ... hint?
Without studying your page and code, I can't help a lot. However, you need to match what happens in the browser that works (typically, FireFox). In the browser, you can watch http action with the TamperData or LiveHTTP Headers plugin. You can recreate that action with Mechanize in the recipe, but you need something that lets you verify what you are sending out, and how the site is responding. I use these options:
Code:
# Log information about HTTP redirects and Refreshes.
br.set_debug_redirects(True)
# Log HTTP response bodies (ie. the HTML, most of the time).
br.set_debug_responses(True)
# Print HTTP headers.
br.set_debug_http(True)
Comparing what you see in the recipe to what you see in Tamper?Data should get you to the "next 30" in your recipe, then you just need to make sure it's being assembled into a single page correctly.
Starson17 is offline   Reply With Quote