How to find all links on a website?

Open the developer console of your browser and run the following command:

urls = document.querySelectorAll('a'); for (url in urls) console.log(urls[url].href);