shell - How to convert a link that has javascript:__doPostBack in href to normal url which wget/curl/lynx can understand? -


I searched in the past, and found this question. But this only answers in Python.

I have to go through a website, some pages (2,3,4, etc.) with the following link:

  javascript: __ doPostBack (' Javascript: __ doPostBack ('AspNetPager1', '3') Javascript: __ doPostBack ('AspNetPager1', '4')   

If I click on it , And it will display the next page, but the real URL is not displayed in the browser.

So my question is, how can I convert the javascript link into a traceable real URL and feed it on wget / curl / lynx

Use the tool (wget / curl / lynx) to download these pages by scripting but due to these javascript: __ doPostBack , I can not find a good way to do this.

You can not actually do it analytically __ doPostBack irregular form Can be complicated by

You can install firebug instead (think that you are using Firefox), activate the network tab, press "Tickets", and then click the button. The Networks tab will show you actual network traffic, and you can remove that real URL from it. In fact, you can right-click only on the specific network request that chooses your interests and select "Copy as Qure" and this curl instruction - with things like cookies and headers in your paste buffer Will complete >

Chrome has a similar function built in.

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -