This website works better with JavaScript.
Home
Explore
Help
Sign In
TechnikNews
/
PublicAPIs
mirror of
https://github.com/public-apis/public-apis
Watch
1
Star
2
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
Make sure the link contains ://
pull/3011/head
Matheus Felipe
2 years ago
parent
95ee79818f
commit
8650f7f979
No known key found for this signature in database
GPG Key ID:
AA785C523274872F
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
scripts/validate/links.py
+ 1
- 1
scripts/validate/links.py
View File
@@ -73,7 +73,7 @@ def fake_user_agent() -> str:
def get_host_from_link(link: str) -> str:
host = link.split('://', 1)[1]
host = link.split('://', 1)[1]
if '://' in link else link
# Remove routes, arguments and anchors
if '/' in host:
Write
Preview
Loading…
Cancel
Save