A co-worker took this url: https://www.rbi.org.in/Scripts/BS_PressReleaseDisplay.aspx which has month/year pagination via Javascript (see the elements on the right) and was able to give me this url:
where I can replace the year after hdnYear and the month after hdnMonth with any year and month, and it will bring me directly to that page. I asked him how he did it, and he said "I used the Network tab in Chrome dev tools." That's about all I could get out of him.
Does anyone know exactly how this is done? For example, I'm now trying to discover similar way to get the actual url for each page of this site: http://www.ojk.go.id/id/regulasi/otoritas-jasa-keuangan/peraturan-dan-keputusan-dewan-komisioner/Default.aspx by looking at the Network tab as I change pages. There is nothing I can see in there that's similar to the above example.
This is how it was done for the rbi.org.in
URL you've mentioned
Chrome
and go to the URL you've givenInspect
Network
tab.Network
tab, you'll see a list of GET/POST
requests being made by the client (ie, the browser) to the server.Filter
box (on the top-left of the Network
tab), type in the search filter method:POST
. Name
column. This will open up more details about the POST
request. Scroll down to the section titled Form Data
.view encoded
button in the Form Data
sectionhdnYear
and hdnMonth
also listed in there. The URL your friend gave can be obtained by clicking on view source