1

I am trying to get all the URLs (and then get the data) that are generated by the form on this page - http://www.vodafone.in/_layouts/servicecallertunes.aspx with little success.

I have installed HTTP Headers(0.14) addon on Firefox 3.0.5, Ubuntu. But the resultant URL is very weird and pretty long. Eg:

POST /_layouts/servicecallertunes.aspx __EVENTTARGET=CTTunes1%24ddlTunesSubCategories&__EVENTARGUMENT=&__LASTFOCUS=&__VIEWSTATE=M0ZAMFvA%2Baq58jd57T84z0fdR%2B1tju00M3YD5nagIHQB48ihJiAoFxS%2B%2Ff8CvaAigdH2a4

(goes on for more than 5000 characters)

What are the possible programmable options to get data from the above form? My only idea currently is to generate all the possible URLs and then get the data.

Thanks in advance. Bart J

4

2 回答 2

2

这是一个 ASP.NET 页面,这就是您在其中看到 __VIEWSTATE 的原因。

顾名思义,viewstate 对有关视图状态的信息进行编码,以尝试使创建表单的程序员“感觉”无状态 HTTP 连接是有状态的。

看起来实际上有一个firefox 插件可以让您解码视图状态并查看其中的信息。您也许可以使用它来确定真正提交的内容并制作您自己的视图状态以获得您想要的行为。

或者您可以只生成所有可能的 URL - 这可能更容易:)

于 2009-03-10T13:59:43.400 回答
1

您可以在此处获得 250 个连续页面中的相同数据:

http://www.vodafone.in/existingusers/services/pages/callertunes_searching.aspx?cttrack=1

于 2009-03-11T13:34:16.977 回答