Skip to content

Commit

Permalink
Dep: zhihu return 403; skip check link to zhihu
Browse files Browse the repository at this point in the history
  • Loading branch information
drmingdrmer committed Dec 12, 2024
1 parent 3cfe0b9 commit 93d6ad5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ jobs:
steps:
- uses: actions/checkout@master
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
config-file: 'mlc_config.json'


md2zhihu:
Expand Down
12 changes: 12 additions & 0 deletions mlc_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"ignorePatterns": [
{
"pattern": "^https://www.zhihu.com/people/"
}
],
"timeout": "3s",
"retryOn429": true,
"retryCount": 3,
"fallbackRetryDelay": "30s",
"aliveStatusCodes": [200, 206]
}

0 comments on commit 93d6ad5

Please sign in to comment.