RyuzakiH/CloudflareSolverRe

Fix for captcha solving + SolveResult.UserAgent is null

Laiteux opened this issue · 2 comments

Hello,

Solving a challenge using a captcha provider will throw an exception here because Id is null.
In order to fix that, you can set Id to string.Empty in this method.

I also noticed that the UserAgent of a returned SolveResult is always null, I don't know if this is only for captcha challenges as I was too lazy to check for javascript challenges too, but this is something else you should fix for sure ;)

Regards,
Matt.

Update:

SolveResult.Cookies.Cf_Clearance also seems to be null!
I didn't check for more.

Closing this as it probably never will get fixed...