Convert Behance 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 65e3820608
commit 08ac008828

@ -68,8 +68,7 @@
"urlMain": "https://basecamp.com/"
},
"Behance": {
"errorMsg": "Oops! We can\u2019t find that page.",
"errorType": "message",
"errorType": "status_code",
"rank": 394,
"url": "https://www.behance.net/{}",
"urlMain": "https://www.behance.net/"

@ -159,7 +159,7 @@ class SherlockSiteCoverageTests(SherlockBaseTest):
self.username_check(['noonewouldeverusethis7'],
["Academia.edu", "9GAG", "About.me", "AngelList",
"BLIP.fm", "Bandcamp"
"BLIP.fm", "Bandcamp", "Behance"
],
exist_check=False
)
@ -182,7 +182,7 @@ class SherlockSiteCoverageTests(SherlockBaseTest):
self.username_check(['blue'],
["Academia.edu", "9GAG", "About.me", "AngelList",
"BLIP.fm", "Bandcamp"
"BLIP.fm", "Bandcamp", "Behance"
],
exist_check=True
)

Loading…
Cancel
Save