How to get all available paths from current webpage? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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 Answers
+ 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