chabad360/htmlproofer

--http_status_ignore=[999,403] doesn't seem to work

CorruptComputer opened this issue · 3 comments

Apologies in advance if this is just me using this wrong.

Linkedin links return status code 999 and some websites will return a 403 with htmlproofer since it uses curl.
Adding arguments: --http_status_ignore=[999,403] to the actions yml file seems to successfully ignore that 403 code, but the Linkedin 999 code is not ignored and still shows as an error.

It looks like there was some discussion about this here: gjtorikian/html-proofer#215
But adding that argument doesn't seem to work for the 999 status code when using this Action.

Screenshot of before adding the argument:
image

Screenshot of after adding the argument: (removed the Antergos link between since that site doesn't exist any longer)
image

Can you try --http_status_ignore="999,403"? This is how it's done in the Readme.

Ah, my bad on that. You are correct, that seems to work. Thanks!