Skip to content

Commit

Permalink
Block LinkedIn URLs
Browse files Browse the repository at this point in the history
- LinkedIn is apparently blocking access and throwing the `999 Request
Denied` Error
- As per — gjtorikian/html-proofer#215 — I’m
ignoring the URLs
  • Loading branch information
hughker committed Aug 16, 2015
1 parent 8d4614e commit fd57003
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -201,5 +201,5 @@ end
desc "build and test website"
task :test do
sh "bundle exec jekyll build"
HTML::Proofer.new("./_site", {:href_ignore=> ['http://localhost:4000'], :typhoeus => { :followlocation => true, :ssl_verifypeer => false, :headers => { 'User-Agent' => 'html-proofer' } }}).run
HTML::Proofer.new("./_site", {:href_ignore=> ['http://localhost:4000','http://linkedin.com/in/sachabest','http://www.linkedin.com/pub/david-yuxuan-wei/95/488/77/','http://www.linkedin.com/pub/elaine-hwang/9b/830/739','https://www.linkedin.com/in/ngovkevin'], :typhoeus => { :followlocation => true, :ssl_verifypeer => false, :headers => { 'User-Agent' => 'html-proofer' } }}).run
end

0 comments on commit fd57003

Please sign in to comment.