How to get all available paths from current webpage? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

How to get all available paths from current webpage?

For example I have next webpage http://simplesite.com/. This site has several paths from main page: simplesite.com/sitemap.html simplesite.com/imagesnames.txt simplesite.com/waymap.xml How to get all this paths if I dont know about them in advance?

3rd Sep 2018, 9:01 AM
Horman Lewis
Horman Lewis - avatar
2 Respostas
+ 2
Use "/sitemap.html" would refer to sitemap.html that located in the current root static folder of the website.
3rd Sep 2018, 9:32 AM
CalviÕ²
CalviÕ² - avatar
0
I've done a code in python : https://code.sololearn.com/c87yZf0isqJy/?ref=app I don't know if it helps...
3rd Sep 2018, 9:14 AM
ThƩophile
ThƩophile - avatar