How to get all available paths from current webpage? | SoloLearn: Learn to code for FREE!

+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?

9/3/2018 9:01:46 AM

Horman Lewis

2 Answers

New Answer

+2

Use "/sitemap.html" would refer to sitemap.html that located in the current root static folder of the website.

0

I've done a code in python : https://code.sololearn.com/c87yZf0isqJy/?ref=app I don't know if it helps...