Is there a way to know all the extensions of a url?
For example let's say there is a website called www.blabla.com
and there is another page www.blabla.com/blabla2.html
.
Is there a way to know www.blabla.com/blabla2.html
from www.blabla.com
only?
I think what you're looking for is a web crawler: https://en.wikipedia.org/wiki/Web_crawler
At a high level, you request the base page and then request all of the pages linked on that page. Continuing this process should yield all of the URLs that are referenced on the website. However, if www.blabla.com/blabla2.html is real page but is never actually linked to on the website, this process would not find it.