mirror of
https://github.com/sherlock-project/sherlock
synced 2025-02-16 12:38:27 +00:00
Convert Designspiration to use the Status Code detection method. The site gives a clean 404 error. Add to tests.
This commit is contained in:
parent
26ef2e1b9b
commit
6fc5c131db
2 changed files with 4 additions and 5 deletions
|
@ -197,10 +197,9 @@
|
|||
"urlMain": "https://www.dailymotion.com/"
|
||||
},
|
||||
"Designspiration": {
|
||||
"errorMsg": "Content Not Found",
|
||||
"errorType": "message",
|
||||
"errorType": "status_code",
|
||||
"rank": 24722,
|
||||
"url": "https://www.designspiration.net/{}",
|
||||
"url": "https://www.designspiration.net/{}/",
|
||||
"urlMain": "https://www.designspiration.net/"
|
||||
},
|
||||
"DeviantART": {
|
||||
|
|
|
@ -160,7 +160,7 @@ class SherlockSiteCoverageTests(SherlockBaseTest):
|
|||
self.username_check(['noonewouldeverusethis7'],
|
||||
["Academia.edu", "9GAG", "About.me", "AngelList",
|
||||
"BLIP.fm", "Bandcamp", "Behance", "BuzzFeed",
|
||||
"Codecademy", "Codementor"
|
||||
"Codecademy", "Codementor", "Designspiration"
|
||||
],
|
||||
exist_check=False
|
||||
)
|
||||
|
@ -184,7 +184,7 @@ class SherlockSiteCoverageTests(SherlockBaseTest):
|
|||
self.username_check(['blue'],
|
||||
["Academia.edu", "9GAG", "About.me", "AngelList",
|
||||
"BLIP.fm", "Bandcamp", "Behance", "BuzzFeed",
|
||||
"Codecademy", "Codementor"
|
||||
"Codecademy", "Codementor", "Designspiration"
|
||||
],
|
||||
exist_check=True
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue