I am looking for a module or code which will get (or at least count) all links up to a certain level of depth for one website.
Only internal webpages are of interest, meaning starting from "mywebsite.com" get only links as subdirectories like "mywebsite.com/xxx/yyy/.../zzz"