mirror of
https://github.com/soxoj/maigret.git
synced 2026-05-07 06:24:35 +00:00
fix(virgool): switch from status_code to message check type with errors for JS cookies
The virgool.io site uses JS-generated cookies for anti-bot protection, causing HTTP 200 for all URLs regardless of user existence. The status_code check type always produced false positives. Changes: - Switch checkType from status_code to message so presence/absence strings are actually used for detection - Add presenseStrs with profile-specific markers that won't match the JS cookie challenge page - Add errors field to detect the JS cookie challenge page and report a meaningful error message - Keep disabled: true as the site requires JS execution Co-authored-by: soxoj <31013580+soxoj@users.noreply.github.com> Agent-Logs-Url: https://github.com/soxoj/maigret/sessions/2df41b87-39e2-47c7-934a-f03106cef094
This commit is contained in:
@@ -17681,10 +17681,16 @@
|
||||
"blog",
|
||||
"ir"
|
||||
],
|
||||
"checkType": "status_code",
|
||||
"checkType": "message",
|
||||
"presenseStrs": [
|
||||
"\"bio\""
|
||||
],
|
||||
"absenceStrs": [
|
||||
"\u06f4\u06f0\u06f4"
|
||||
],
|
||||
"errors": {
|
||||
"<noscript>": "JS-generated cookies required"
|
||||
},
|
||||
"alexaRank": 1457,
|
||||
"urlMain": "https://virgool.io/",
|
||||
"url": "https://virgool.io/@{username}",
|
||||
|
||||
Reference in New Issue
Block a user