Skip to content

Commit

Permalink
Ignore HTTP response 429 during link check
Browse files Browse the repository at this point in the history
Ignore HTTP respone error code 429: Too Many Requests when link-checking
markdown files.

Some sites, such as Medium, return this error code even though the link
is live. Presumably, Medium does this for "members-only" articles.
Example:

https://betterprogramming.pub/text-to-audio-generation-with-bark-clearly-explained-4ee300a3713a

See also:

https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429
  • Loading branch information
carljparker committed Jan 24, 2025
1 parent 322707b commit 1e8e5fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/scripts/markdown_link_check_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@
{
"pattern": "https://www.intel.com/content/www/us/en/developer/articles/news/llama2.html"
}
]
],
"aliveStatusCodes": [429, 200]
}

0 comments on commit 1e8e5fd

Please sign in to comment.