Thread: maya recipe
View Single Post
Old 10-27-2010, 05:42 PM   #55
marbs
Zealot
marbs began at the beginning.
 
Posts: 122
Karma: 10
Join Date: Jul 2010
Device: nook
Quote:
Originally Posted by Starson17 View Post
I didn't have much time, but briefly, what's happening is you have some java running when you enter a next page number at the bottom of your page. That number is added to a POST which goes to your url. You saw the POST in TamperData. You need to simulate it, or at least simulate the important parts, like rsSearchRes_PgNo.

It's done as follows:

Code:
        data = urllib.urlencode({ 'rsSearchRes_PgNo':'2'})
        url = 'http:// whatever'
        br.open(url, data)
That just sets one value. I don't know how much testing you did with TamperData, but you can empty the values, or delete them entirely. You may need to test with the various parameters actually deleted in tampered TamperDAta POST commands to make sure that's the only item needed. If you need more, you can add as many parameters in the data = line as you want to be sent by the POST.

The data that you send in the POST can be seen with:
Code:
        # Print HTTP headers.
        br.set_debug_http(True)
i thought this is what i did. if you take a look at msg #44 of this post, you'll see it.
i copied form google reader. ill take an other look at google and a look at greader.
marbs is offline   Reply With Quote