Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
public-apis
Commits
e3576937
"ruoyi-ui/src/vscode:/vscode.git/clone" did not exist on "6e14601c7cd8312a8dcb372b341ea05c7b965a23"
Unverified
Commit
e3576937
authored
Oct 18, 2020
by
Sitram
Committed by
GitHub
Oct 18, 2020
Browse files
Fix links validation (#1421)
parent
a3e9fa01
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
e3576937
...
...
@@ -391,7 +391,7 @@ API | Description | Auth | HTTPS | CORS |
|
[
Hypixel
](
https://api.hypixel.net/
)
| Hypixel player stats |
`apiKey`
| Yes | Unknown |
|
[
Hytale
](
https://hytale-api.com/
)
| Hytale blog posts and jobs | No | Yes | Unknown |
|
[
IGDB.com
](
https://api.igdb.com/
)
| Video Game Database |
`apiKey`
| Yes | Unknown |
|
[
JokeAPI
](
https://sv443.net/jokeapi
)
| Programming, Miscellaneous and Dark Jokes | No | Yes | Yes |
|
[
JokeAPI
](
https://sv443.net/jokeapi
/v2/
)
| Programming, Miscellaneous and Dark Jokes | No | Yes | Yes |
|
[
Jokes
](
https://github.com/15Dkatz/official_joke_api
)
| Programming and general jokes | No | Yes | Unknown |
|
[
Jservice
](
http://jservice.io
)
| Jeopardy Question Database | No | No | Unknown |
|
[
Magic The Gathering
](
http://magicthegathering.io/
)
| Magic The Gathering Game Information | No | No | Unknown |
...
...
build/validate_links.py
View file @
e3576937
...
...
@@ -34,7 +34,11 @@ def validate_links(links):
except
socket
.
error
as
socketerror
:
errors
.
append
(
"SOC: {} : {}"
.
format
(
socketerror
,
link
))
except
Exception
as
e
:
errors
.
append
(
"ERR: {} : {}"
.
format
(
e
,
link
))
# Ignore some exceptions which are not actually errors.
# The list below should be extended with other exceptions in the future if needed
if
((
-
1
!=
str
(
e
).
find
(
"Content purported to be compressed with gzip but failed to decompress."
))
and
(
-
1
!=
str
(
e
).
find
(
"[SSL: CERTIFICATE_VERIFY_FAIL)ED] certificate verify failed (_ssl.c:852)"
)))
:
errors
.
append
(
"ERR: {} : {}"
.
format
(
e
,
link
))
return
errors
if
__name__
==
"__main__"
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment