Convert Designspiration 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 26ef2e1b9b
commit 6fc5c131db

@ -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…
Cancel
Save