Convert Canva to the more robust Response URL detection method. Add to tests to ensure that it is covered.

pull/156/head
Christopher K. Hoadley 6 years ago
parent 916fdd0603
commit f609320d3c

@ -105,9 +105,9 @@
"url": "https://buzzfeed.com/{}",
"urlMain": "https://buzzfeed.com/"
},
"Canva": {
"errorMsg": "Not found (404)",
"errorType": "message",
"Canva": {
"errorType": "response_url",
"errorUrl": "https://www.canva.com/{}",
"rank": 215,
"url": "https://www.canva.com/{}",
"urlMain": "https://www.canva.com/"

@ -112,7 +112,7 @@ class SherlockSiteCoverageTests(SherlockBaseTest):
self.username_check(['noonewouldeverusethis7'],
["Pinterest", "iMGSRC.RU", "Pastebin",
"WordPress", "devRant", "ImageShack", "MeetMe",
"EyeEm", "CreativeMarket", "EVE Online"
"EyeEm", "CreativeMarket", "EVE Online", "Canva"
],
exist_check=False
)
@ -136,7 +136,7 @@ class SherlockSiteCoverageTests(SherlockBaseTest):
self.username_check(['blue'],
["Pinterest", "iMGSRC.RU", "Pastebin",
"WordPress", "devRant", "ImageShack", "MeetMe",
"EyeEm", "CreativeMarket", "EVE Online"
"EyeEm", "CreativeMarket", "EVE Online", "Canva"
],
exist_check=True
)

Loading…
Cancel
Save