hmol / LinkCrawler

Find broken links in webpage
MIT License
117 stars 59 forks source link

Added link text when reporting broken links to console #20

Closed rfere closed 7 years ago

rfere commented 8 years ago

Relevant to issue #2

capture

The approach I've taken:

  1. Extend the MarkupHelper class so that it returns a list of LinkModel which contains both the Url and InnerHtml
  2. Added a new property to ResponseModel to carry the InnerHtml of each Url through the program and be able to display it if necessary
  3. Adjust the SendRequest method of LinkCrawler to use LinkModel instead of plain strings
  4. Adjust the ToString() method of ResponseModel to include link text

Looking forward to your feedback!