소스 검색

Ignore HTTP response 429 during link check

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
Carl Parker 3 달 전
부모
커밋
1e8e5fd412
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      .github/scripts/markdown_link_check_config.json

+ 2 - 1
.github/scripts/markdown_link_check_config.json

@@ -23,5 +23,6 @@
     {
       "pattern": "https://www.intel.com/content/www/us/en/developer/articles/news/llama2.html"
     }
-  ]
+  ],
+  "aliveStatusCodes": [429, 200]
 }