Compare commits

...

8 Commits

Author SHA1 Message Date
copilot-swe-agent[bot] b59179b4d5 Rebase: squash branch onto main with single Virgool data.json change 2026-03-24 22:01:31 +00:00
copilot-swe-agent[bot] a2142634e1 fix(virgool): enable virgool.io via POST user-existence API
Use existing POST support from main to enable virgool.io:
- checkType: message with presenseStrs for user_exist:true
- urlProbe: POST /api/v1.4/auth/user-existence
- requestMethod: POST with requestPayload for username lookup
- Content-Type: application/json header
- absenceStrs with Persian user not found message
- disabled flag removed — POST API bypasses JS cookie protection
2026-03-24 22:01:18 +00:00
copilot-swe-agent[bot] ab01dfce92 Merge remote-tracking branch 'origin/copilot/fix-broken-site-virgool' into copilot/fix-broken-site-virgool 2026-03-24 21:33:35 +00:00
copilot-swe-agent[bot] 64cca25b12 fix(virgool): use existing POST support from main to enable virgool.io via user-existence API
Co-authored-by: soxoj <31013580+soxoj@users.noreply.github.com>
Agent-Logs-Url: https://github.com/soxoj/maigret/sessions/e4d95115-25eb-44aa-b144-14d4bdc905c6
2026-03-24 21:32:45 +00:00
copilot-swe-agent[bot] 7ba2fd31ea refactor: move json import to module level and address review comments
Co-authored-by: soxoj <31013580+soxoj@users.noreply.github.com>
Agent-Logs-Url: https://github.com/soxoj/maigret/sessions/e7f4ab84-917a-49fc-bfbd-9bbaf76027f8
2026-03-24 21:21:32 +00:00
copilot-swe-agent[bot] 4d70f0f7c9 feat(virgool): add POST support and use user-existence API to bypass JS cookies
Co-authored-by: soxoj <31013580+soxoj@users.noreply.github.com>
Agent-Logs-Url: https://github.com/soxoj/maigret/sessions/e7f4ab84-917a-49fc-bfbd-9bbaf76027f8
2026-03-24 21:20:03 +00:00
copilot-swe-agent[bot] 2def9a2014 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
2026-03-22 21:00:40 +00:00
copilot-swe-agent[bot] 0615deab8b Initial plan 2026-03-22 20:36:33 +00:00
+18 -5
View File
@@ -13645,18 +13645,31 @@
"usernameUnclaimed": "noonewouldeverusethis7"
},
"Virgool": {
"disabled": true,
"tags": [
"blog",
"ir"
],
"checkType": "status_code",
"absenceStrs": [
"\u06f4\u06f0\u06f4"
"checkType": "message",
"presenseStrs": [
"\"user_exist\":true",
"\"user_exist\": true"
],
"absenceStrs": [
"\u06a9\u0627\u0631\u0628\u0631\u06cc \u0628\u0627 \u0627\u06cc\u0646 \u0645\u0634\u062e\u0635\u0627\u062a \u06cc\u0627\u0641\u062a \u0646\u0634\u062f"
],
"headers": {
"Content-Type": "application/json"
},
"alexaRank": 31518,
"urlMain": "https://virgool.io/",
"url": "https://virgool.io/@{username}",
"urlProbe": "https://virgool.io/api/v1.4/auth/user-existence",
"requestMethod": "POST",
"requestPayload": {
"username": "{username}",
"type": "login",
"method": "username"
},
"usernameClaimed": "blue",
"usernameUnclaimed": "noonewouldeverusethis7"
},
@@ -36312,4 +36325,4 @@
"lemmy",
"pixelfed"
]
}
}