Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Broken Link Finder

About

blf scans a url for broken links. by default, it will follow links on the same domain and perform the same analysis on these as well. It will work with dynamically generated content and Javascript.

Dependencies

You will need either

in order to use this tool.

Usage

Broken link finder

Usage: blf [OPTIONS] <URL>

Arguments:
  <URL>  The URL to scan.

Options:
  -f, --follow           Follow links and perform analysis on all pages in subdomain. (False by default).
      --cookie <cookie>  Set cookie for requests. Can be specified multiple times.
  -h, --help             Print help
  -V, --version          Print version

Enhancements

  • Extract worker setup into dedicated library.
  • Scan clickable elements, not just hyperlinks.
  • Show xpath of elements which have broken links.
  • Enable setting user agent

Todo

  • Separate scanners into their own modules.
  • Scrape a single static page
  • Transitive scrape of links within domain (--follow option)
  • Run JS on page to get link
  • Multithread the code
  • Scan src attributes as well.

Learnings

  1. Performance analysis with perf
  2. Chrome devtools protocol vs webdriver standard.
  3. The Webdriver standard