mirror of
https://github.com/werwolfby/monitorrent.git
synced 2026-10-14 21:39:03 +00:00
[PR #421] [CLOSED] fix(nnmclub): handle Cloudflare Turnstile CAPTCHA on login #420
Labels
No labels
bug
docs
duplicate
enhancement
Epic
feature
feature
future
help wanted
in progress
need more info
plugin
proxy
pull-request
python 2
python 3
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
werwolfby/monitorrent#420
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/werwolfby/monitorrent/pull/421
Author: @Nurullaev
Created: 4/19/2026
Status: ❌ Closed
Base:
develop← Head:fix/nnmclub-turnstile-captcha📝 Commits (1)
be75970fix(nnmclub): handle Cloudflare Turnstile CAPTCHA on login📊 Changes
1 file changed (+45 additions, -11 deletions)
View changed files
📝
monitorrent/plugins/trackers/nnmclub.py(+45 -11)📄 Description
What changed
NNMClub added a Cloudflare Turnstile CAPTCHA to their login form (
data-sitekey: 0x4AAAAAAAhS8bNcgfb-0Kni, managed mode). The previousrequests-based POST login no longer works because the server now requires acf-turnstile-responsetoken that can only be generated by a real browser.Solution
Replaced the simple
Session.post()login with a Playwright headless browser flow:cf-turnstile-responsephpbb2mysql_4_sidandphpbb2mysql_4_datacookies — same session data as beforePlaywright (
playwright==1.31.1) is already inrequirements.txt. No new dependencies needed.Notes
playwright install chromiummust be run once.🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.