From 0615deab8b677fa3aec2917201d9350ee191c5d2 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 22 Mar 2026 20:36:33 +0000 Subject: [PATCH 1/4] Initial plan From 2def9a20147cb6a47d2cdf4106bf4d6ae1664de8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 22 Mar 2026 21:00:40 +0000 Subject: [PATCH 2/4] 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 --- maigret/resources/data.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/maigret/resources/data.json b/maigret/resources/data.json index 8bcdc13..40e9830 100644 --- a/maigret/resources/data.json +++ b/maigret/resources/data.json @@ -17681,10 +17681,16 @@ "blog", "ir" ], - "checkType": "status_code", + "checkType": "message", + "presenseStrs": [ + "\"bio\"" + ], "absenceStrs": [ "\u06f4\u06f0\u06f4" ], + "errors": { + "