teamon

  • Archive
  • RSS
  • Ask me anything

rawler: Crawl your website and find broken links with Ruby

thechangelog:

Need a quick-and-dirty way to find broken links on your web site? Rawler from Oscar Del Ben is a Ruby gem that gives you a command line tool to crawl your site, looking for errors.

Install via Rubygems:

gem install rawler

For usage, just execute the command rawler --help:

~ » rawler --help                                                                ~ 255 ↵ 
Rawler is a command line utility for parsing links on a website

Usage:
      rawler http://example.com [options]

where [options] are:
  --username, -u <s>:   HTT Basic Username
  --password, -p <s>:   HTT Basic Password
       --version, -v:   Print version and exit
          --help, -h:   Show this message

Point Rawler to your URL and you’ll get a list of followed links and their HTTP status codes:

~ » rawler http://thechangelog.com                                               ~ 130 ↵ 
301 - http://thechangelog.com/episodes
200 - http://thechangelog.com/archive
200 - http://thechangelog.com/
200 - https://chrome.google.com/extensions/detail/oiaejidbmkiecgbjeifoejpgmdaleoha
301 - http://github.com
200 - http://stylebot.me
200 - http://twitter.com/stylebot
200 - http://thechangelog.com/tagged/css
200 - https://github.com/handlino/CompassApp

...

The roadmap includes:

  • Follow redirects, but still inform about them
  • Respect robots.txt
  • Export to html

If you want to help out, fork the project and contribute.

[Source on GitHub]

Source: thechangelog

  • 1 year ago > thechangelog
  • 25
  • Comments
  • Permalink
  • Share
    Tweet

25 Notes/ Hide

  1. reparatiifrigidere liked this
  2. pariuri--sportive liked this
  3. seology liked this
  4. entertech liked this
  5. pmpress1 liked this
  6. last--minute liked this
  7. cazare-eforie-nord liked this
  8. lucapette liked this
  9. teamon liked this
  10. teamon reblogged this from thechangelog
  11. naehrstoff reblogged this from thechangelog
  12. davidaskew liked this
  13. devpassion liked this
  14. drzhubuakrok reblogged this from thechangelog
  15. ecleel liked this
  16. muyruby reblogged this from thechangelog
  17. miscbits liked this
  18. signonpdx liked this
  19. thechangelog posted this

Recent comments

Blog comments powered by Disqus
← Previous • Next →

About

Ruby, Scala and others.

Pages

  • About
  • Projects
  • RSS
  • Random
  • Archive
  • Ask me anything
  • Mobile

Effector Theme by Carlo Franco.

Powered by Tumblr