From 75c51f545b2312118a74d788090d0825604c1915 Mon Sep 17 00:00:00 2001 From: Siddharth Dushantha Date: Wed, 2 Sep 2020 21:13:19 +0200 Subject: [PATCH] fixes #371 --- .gitignore | 3 +++ sherlock/resources/data.json | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 3bf7f81b..1f0eb5c3 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,6 @@ tests/.excluded_sites # MacOS Folder Metadata File .DS_Store + +# Vim swap files +*.swp diff --git a/sherlock/resources/data.json b/sherlock/resources/data.json index 59dd8bfa..e44a3150 100644 --- a/sherlock/resources/data.json +++ b/sherlock/resources/data.json @@ -46,6 +46,7 @@ }, "Academia.edu": { "errorType": "status_code", + "regexCheck": "^[^.]*$", "url": "https://independent.academia.edu/{}", "urlMain": "https://www.academia.edu/", "username_claimed": "blue", @@ -1548,6 +1549,7 @@ }, "Trakt": { "errorType": "status_code", + "regexCheck": "^[^.]*$", "url": "https://www.trakt.tv/users/{}", "urlMain": "https://www.trakt.tv/", "username_claimed": "blue", @@ -2251,4 +2253,4 @@ "username_claimed": "blue", "username_unclaimed": "noonewouldeverusethis7" } -} \ No newline at end of file +}