mirror of
https://github.com/sherlock-project/sherlock
synced 2025-02-16 12:38:27 +00:00
Convert Canva to the more robust Response URL detection method. Add to tests to ensure that it is covered.
This commit is contained in:
parent
916fdd0603
commit
f609320d3c
2 changed files with 5 additions and 5 deletions
|
@ -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…
Add table
Reference in a new issue