Given:
The site on the wikiDot engine. It has a button-link to a random article site:
When clicking on a link, a GET request is executed and a redirect is sent to the generated in some way (see some script on the server) URL address of the page on the site.
Task:
Programmatically get a random address of the site page at the link above. In this case, no access to any of the sites and servers specified in the question.
Possible Solution:
Somehow to find out what happens in the browser when clicking on a link and form a similar request programmatically to get the final random link.
I tried:
- Google did not answer (google as it does on the site's engine).
- An attempt to extract something through the chrome developer tools showed only that the GET request was made via the link. What is sent there is not visible (maybe it looked bad).
- Attempting to download a link programmatically does not give any hints to a random URL.
Question:
How and with what tools can you find out what happens in the browser when clicking on this link and how to emulate all this to get the generated URL to which this link is redirected?