Link check on ACM Digital Library results in 403
Hi, running link checks against the [ACM Digital Library](https://dl.acm.org/) results in 403 error.
I am aware that this is due to the handling of requests on their end, so this issue is rather search for help than a bug report.
Are there any known tricks to check such pages and avoid the 403? Running from my browser works fine.
For reference the following example:
```
# htmlproofer --as-links https://dl.acm.org/doi/abs/10.1145/3629526.3645036
Running 1 check (LinkCheck) on ["https://dl.acm.org/doi/abs/10.1145/3629526.3645036"] ...
Checking 1 external link
For the Links > External check, the following failures were found:
* External link https://dl.acm.org/doi/abs/10.1145/3629526.3645036 failed (status code 403)
HTML-Proofer found 1 failure!
```
I tried changing the user agent to the one of browser, but still get the 403.
```
--typhoeus='{"verbose":true, "headers" : {"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36"}}'
```
关闭于 2025-06-09 3 条评论