cf-tool
cf-tool copied to clipboard
'Cannot find csrf' after Codeforces update
https://github.com/xalanq/cf-tool/blob/4aff8682ad0d1e14155c9744a3f27780576bb11e/client/login.go#L48-L51
There's just a single data-csrf='...'
field on Codeforces now. What's the point in using the second match, not the first one?
Try https://github.com/cp-tools/cpt It's still beta, but its much cooler.
The development of the tool looks inactive.
UPD: I fixed the issue and created fork. Thanks to @imachug Here's the link
so, is there any solution? I still get ‘Cannot find csrf' error using sainad2222's repo.
https://github.com/woshiluo/cf-tool/releases/tag/v1.0.1 GO to that link and download the required file. It woks without any issue.