title: Downloading all Urls accessible under a given domain with wget without saving the actual pages?
body: <p>Trying to determine all the valid urls under a given domain without having the mirror the site locally. </p>
  
  <p>People generally want to download all the pages but I just want to get a list of the direct urls under a given domain (e.g. <code>www.example.com</code>), which would be something like </p>
  
  <ul>
  <li><code>www.example.com/page1</code></li>
  <li><code>www.example.com/page2</code></li>
  <li>etc.</li>
  </ul>
  
  <p>Is there a way to use <code>wget</code> to do this? or is there a better approach for this?</p>