From 1153a9bf01f8a469ca5e237e67392e9aa0ed8e19 Mon Sep 17 00:00:00 2001 From: fen0s <37670363+fen0s@users.noreply.github.com> Date: Mon, 15 Aug 2022 15:45:53 +0300 Subject: [PATCH] disable Instagram, fix two false positives (#578) * Update data.json * Update data.json * Update data.json --- maigret/resources/data.json | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/maigret/resources/data.json b/maigret/resources/data.json index 7b0c3e7..da11cee 100644 --- a/maigret/resources/data.json +++ b/maigret/resources/data.json @@ -7980,13 +7980,17 @@ "usernameUnclaimed": "noonewouldeverusethis7" }, "Instagram": { + "disabled": true, "tags": [ "photo" ], "errors": { "Login \u2022 Instagram": "Login required" }, - "checkType": "status_code", + "checkType": "message", + "presenseStrs": [ + "
" + ], "alexaRank": 32, "urlMain": "https://www.instagram.com/", "url": "https://www.instagram.com/{username}", @@ -11970,7 +11974,8 @@ "checkType": "message", "absenceStrs": [ "Error 500", - "Error 404" + "Error 404", + "Checking if the site connection is secure" ], "alexaRank": 2255, "urlMain": "https://www.picuki.com/", @@ -13587,8 +13592,8 @@ "usernameUnclaimed": "noonewouldeverusethis77777" }, "Rpgwatch": { - "disabled": true, "urlSubpath": "/forums", + "disabled": true, "tags": [ "ca", "forum", @@ -17040,7 +17045,7 @@ "video" ], "headers": { - "Authorization": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2NjAzODUyMjAsInVzZXJfaWQiOm51bGwsImFwcF9pZCI6NTg0NzksInNjb3BlcyI6InB1YmxpYyIsInRlYW1fdXNlcl9pZCI6bnVsbH0.-UijYaB6uF9u5J-I6N55L4wqhur7ygxHjpj-GGmu5K0" + "Authorization": "jwt eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE2NjA1MjExODAsInVzZXJfaWQiOm51bGwsImFwcF9pZCI6NTg0NzksInNjb3BlcyI6InB1YmxpYyIsInRlYW1fdXNlcl9pZCI6bnVsbH0.qWzrKT-ZBPkLWXGsgC89h2ocz_fS1c5UtkLaiszMQfA" }, "activation": { "url": "https://vimeo.com/_rv/viewer", @@ -31271,9 +31276,11 @@ }, "xgm.guru": { "presenseStrs": [ - "Активность:" + "\u0410\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u044c:" + ], + "absenceStrs": [ + "\u0410\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u044f" ], - "absenceStrs": ["Авторизация"], "url": "https://xgm.guru/user/{username}", "urlMain": "https://xgm.guru", "usernameClaimed": "test",