Convert AngelList to use the Status Code detection method. The site gives a clean 404 error. Add to tests.

pull/156/head
Christopher K. Hoadley 6 years ago
parent 89787b1509
commit 8a82d883c6

@ -25,8 +25,7 @@
"urlMain": "https://www.academia.edu/"
},
"AngelList": {
"errorMsg": "We couldn't find what you were looking for.",
"errorType": "message",
"errorType": "status_code",
"rank": 3469,
"url": "https://angel.co/{}",
"urlMain": "https://angel.co/"

@ -158,7 +158,7 @@ class SherlockSiteCoverageTests(SherlockBaseTest):
"""
self.username_check(['noonewouldeverusethis7'],
["Academia.edu", "9GAG", "About.me"
["Academia.edu", "9GAG", "About.me", "AngelList"
],
exist_check=False
)
@ -180,7 +180,7 @@ class SherlockSiteCoverageTests(SherlockBaseTest):
"""
self.username_check(['blue'],
["Academia.edu", "9GAG", "About.me"
["Academia.edu", "9GAG", "About.me", "AngelList"
],
exist_check=True
)

Loading…
Cancel
Save