fix: resolve false positives for ArtStation, GeeksforGeeks, and LushStories
- ArtStation: Add urlProbe using the JSON API endpoint (https://www.artstation.com/users/{}.json) which returns proper 404 for non-existing users, instead of the main page which returns 200 for both existing and non-existing profiles. Closes #2714 - GeeksforGeeks: Switch from status_code to message detection. Both existing and non-existing profiles return HTTP 200, but non-existing profiles have "false" in the page title. Closes #2782 - LushStories: Switch from status_code to response_url detection. Non-existing profiles redirect (302) to /login while existing profiles return 200. Closes #2371
This commit is contained in:
@@ -159,6 +159,7 @@
|
||||
"errorType": "status_code",
|
||||
"url": "https://www.artstation.com/{}",
|
||||
"urlMain": "https://www.artstation.com/",
|
||||
"urlProbe": "https://www.artstation.com/users/{}.json",
|
||||
"username_claimed": "Blue"
|
||||
},
|
||||
"Asciinema": {
|
||||
@@ -952,7 +953,8 @@
|
||||
"username_claimed": "blue"
|
||||
},
|
||||
"GeeksforGeeks": {
|
||||
"errorType": "status_code",
|
||||
"errorMsg": "false | GeeksforGeeks Profile",
|
||||
"errorType": "message",
|
||||
"url": "https://auth.geeksforgeeks.org/user/{}",
|
||||
"urlMain": "https://www.geeksforgeeks.org/",
|
||||
"username_claimed": "adam"
|
||||
@@ -1526,7 +1528,8 @@
|
||||
"username_claimed": "lottiefiles"
|
||||
},
|
||||
"LushStories": {
|
||||
"errorType": "status_code",
|
||||
"errorType": "response_url",
|
||||
"errorUrl": "https://www.lushstories.com/login",
|
||||
"isNSFW": true,
|
||||
"url": "https://www.lushstories.com/profile/{}",
|
||||
"urlMain": "https://www.lushstories.com/",
|
||||
|
||||
Reference in New Issue
Block a user