mirror of
https://github.com/sherlock-project/sherlock
synced 2024-11-25 21:30:24 +00:00
Convert Behance to use the Status Code detection method. The site gives a clean 404 error. Add to tests.
This commit is contained in:
parent
65e3820608
commit
08ac008828
2 changed files with 3 additions and 4 deletions
|
@ -68,8 +68,7 @@
|
||||||
"urlMain": "https://basecamp.com/"
|
"urlMain": "https://basecamp.com/"
|
||||||
},
|
},
|
||||||
"Behance": {
|
"Behance": {
|
||||||
"errorMsg": "Oops! We can\u2019t find that page.",
|
"errorType": "status_code",
|
||||||
"errorType": "message",
|
|
||||||
"rank": 394,
|
"rank": 394,
|
||||||
"url": "https://www.behance.net/{}",
|
"url": "https://www.behance.net/{}",
|
||||||
"urlMain": "https://www.behance.net/"
|
"urlMain": "https://www.behance.net/"
|
||||||
|
|
|
@ -159,7 +159,7 @@ class SherlockSiteCoverageTests(SherlockBaseTest):
|
||||||
|
|
||||||
self.username_check(['noonewouldeverusethis7'],
|
self.username_check(['noonewouldeverusethis7'],
|
||||||
["Academia.edu", "9GAG", "About.me", "AngelList",
|
["Academia.edu", "9GAG", "About.me", "AngelList",
|
||||||
"BLIP.fm", "Bandcamp"
|
"BLIP.fm", "Bandcamp", "Behance"
|
||||||
],
|
],
|
||||||
exist_check=False
|
exist_check=False
|
||||||
)
|
)
|
||||||
|
@ -182,7 +182,7 @@ class SherlockSiteCoverageTests(SherlockBaseTest):
|
||||||
|
|
||||||
self.username_check(['blue'],
|
self.username_check(['blue'],
|
||||||
["Academia.edu", "9GAG", "About.me", "AngelList",
|
["Academia.edu", "9GAG", "About.me", "AngelList",
|
||||||
"BLIP.fm", "Bandcamp"
|
"BLIP.fm", "Bandcamp", "Behance"
|
||||||
],
|
],
|
||||||
exist_check=True
|
exist_check=True
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue