title: list all suburls and check if broken in python
body: <p>I have a website developped in django, which consist of around 25000 suburls.
  I need something to list all the urls in website and check if the links are broken periodically so i prefer to do something that i can run as a script.</p>
  
  <p>Which method should i follow? Any idea ?</p>