cf-tool icon indicating copy to clipboard operation
cf-tool copied to clipboard

'Cannot find csrf' after Codeforces update

Open purplesyringa opened this issue 3 years ago • 4 comments

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?

purplesyringa avatar Apr 06 '21 08:04 purplesyringa

Try https://github.com/cp-tools/cpt It's still beta, but its much cooler.

infalmo avatar Apr 06 '21 08:04 infalmo

The development of the tool looks inactive.

UPD: I fixed the issue and created fork. Thanks to @imachug Here's the link

sainad2222 avatar Apr 06 '21 16:04 sainad2222

so, is there any solution? I still get ‘Cannot find csrf' error using sainad2222's repo.

askeySnip avatar Jun 07 '22 14:06 askeySnip

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.

SHAHNUR00 avatar Aug 15 '22 20:08 SHAHNUR00