diff --git a/data.json b/data.json index f263bc2f..7081f74b 100644 --- a/data.json +++ b/data.json @@ -120,7 +120,9 @@ "errorUrl": "https://www.canva.com/{}", "rank": 214, "url": "https://www.canva.com/{}", - "urlMain": "https://www.canva.com/" + "urlMain": "https://www.canva.com/", + "username_claimed": "blue", + "username_unclaimed": "noonewouldeverusethis7" }, "Carbonmade": { "errorMsg": "You've accidentally stumbled upon Mike's super secret nap grotto.", @@ -196,7 +198,9 @@ "errorUrl": "https://www.creativemarket.com/", "rank": 1790, "url": "https://creativemarket.com/{}", - "urlMain": "https://creativemarket.com/" + "urlMain": "https://creativemarket.com/", + "username_claimed": "blue", + "username_unclaimed": "noonewouldeverusethis7" }, "Crevado": { "errorType": "status_code", @@ -252,7 +256,9 @@ "errorUrl": "https://eveonline.com", "rank": 11650, "url": "https://evewho.com/pilot/{}/", - "urlMain": "https://eveonline.com" + "urlMain": "https://eveonline.com", + "username_claimed": "blue", + "username_unclaimed": "noonewouldeverusethis7" }, "Ebay": { "errorMsg": "The User ID you entered was not found", @@ -279,7 +285,9 @@ "errorUrl": "https://www.eyeem.com/", "rank": 33324, "url": "https://www.eyeem.com/u/{}", - "urlMain": "https://www.eyeem.com/" + "urlMain": "https://www.eyeem.com/", + "username_claimed": "blue", + "username_unclaimed": "noonewouldeverusethis7" }, "Facebook": { "errorType": "status_code", @@ -411,7 +419,9 @@ "errorUrl": "https://imageshack.us/", "rank": 37337, "url": "https://imageshack.us/user/{}", - "urlMain": "https://imageshack.us/" + "urlMain": "https://imageshack.us/", + "username_claimed": "blue", + "username_unclaimed": "noonewouldeverusethis7" }, "Imgur": { "errorType": "status_code", @@ -529,7 +539,9 @@ "errorUrl": "https://www.meetme.com/", "rank": 14599, "url": "https://www.meetme.com/{}", - "urlMain": "https://www.meetme.com/" + "urlMain": "https://www.meetme.com/", + "username_claimed": "blue", + "username_unclaimed": "noonewouldeverusethis7" }, "MixCloud": { "errorMsg": "Page Not Found", @@ -563,7 +575,9 @@ "errorUrl": "https://pastebin.com/index", "rank": 1044, "url": "https://pastebin.com/u/{}", - "urlMain": "https://pastebin.com/" + "urlMain": "https://pastebin.com/", + "username_claimed": "blue", + "username_unclaimed": "noonewouldeverusethis7" }, "Patreon": { "errorType": "status_code", @@ -589,7 +603,9 @@ "errorUrl": "https://www.pinterest.com/?show_error=true", "rank": 73, "url": "https://www.pinterest.com/{}/", - "urlMain": "https://www.pinterest.com/" + "urlMain": "https://www.pinterest.com/", + "username_claimed": "blue", + "username_unclaimed": "noonewouldeverusethis7" }, "Pixabay": { "errorType": "status_code", @@ -860,7 +876,9 @@ "rank": 60, "regexCheck": "^[a-zA-Z][a-zA-Z0-9_-]*$", "url": "https://{}.wordpress.com/", - "urlMain": "https://wordpress.com" + "urlMain": "https://wordpress.com", + "username_claimed": "blue", + "username_unclaimed": "noonewouldeverusethis7" }, "YouPic": { "errorType": "status_code", @@ -894,14 +912,18 @@ "errorUrl": "https://devrant.com/", "rank": 146159, "url": "https://devrant.com/users/{}", - "urlMain": "https://devrant.com/" + "urlMain": "https://devrant.com/", + "username_claimed": "blue", + "username_unclaimed": "noonewouldeverusethis7" }, "iMGSRC.RU": { "errorType": "response_url", "errorUrl": "https://imgsrc.ru/", "rank": 3660, "url": "https://imgsrc.ru/main/user.php?user={}", - "urlMain": "https://imgsrc.ru/" + "urlMain": "https://imgsrc.ru/", + "username_claimed": "blue", + "username_unclaimed": "noonewouldeverusethis7" }, "last.fm": { "errorMsg": "Whoops! Sorry, but this page doesn't exist.", diff --git a/tests/all.py b/tests/all.py index f394fe7c..1fdfec6b 100644 --- a/tests/all.py +++ b/tests/all.py @@ -109,13 +109,7 @@ class SherlockSiteCoverageTests(SherlockBaseTest): Will trigger an assert if detection mechanism did not work as expected. """ - self.username_check(['noonewouldeverusethis7'], - ["Pinterest", "iMGSRC.RU", "Pastebin", - "WordPress", "devRant", "ImageShack", "MeetMe", - "EyeEm", "CreativeMarket", "EVE Online", "Canva" - ], - exist_check=False - ) + self.detect_type_check("response_url", exist_check=False) return @@ -133,13 +127,7 @@ class SherlockSiteCoverageTests(SherlockBaseTest): Will trigger an assert if detection mechanism did not work as expected. """ - self.username_check(['blue'], - ["Pinterest", "iMGSRC.RU", "Pastebin", - "WordPress", "devRant", "ImageShack", "MeetMe", - "EyeEm", "CreativeMarket", "EVE Online", "Canva" - ], - exist_check=True - ) + self.detect_type_check("response_url", exist_check=True) return