Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support User-Agent calling external link with command line #524

Closed
kenchan0130 opened this issue Jul 17, 2019 · 0 comments · Fixed by #525
Closed

Support User-Agent calling external link with command line #524

kenchan0130 opened this issue Jul 17, 2019 · 0 comments · Fixed by #525

Comments

@kenchan0130
Copy link

kenchan0130 commented Jul 17, 2019

When I execute command line like

htmlproofer out/

, it checks external links without User-Agent.

However, when I execute a script like

#!/usr/bin/env ruby

require 'html-proofer'
HTMLProofer.check_directory("out/").run

, it checks external links with User-Agent.

Because the operation of granting User-Agent in default is convenient, I would say the same behavior is appropriate on the command line.

@kenchan0130 kenchan0130 changed the title Will the command line support User-Agent calling external link? Support User-Agent calling external link with command line Jul 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant