|
|
@ -22,6 +22,7 @@ import ( |
|
|
fhttp "github.com/bogdanfinn/fhttp" |
|
|
fhttp "github.com/bogdanfinn/fhttp" |
|
|
tlsclient "github.com/bogdanfinn/tls-client" |
|
|
tlsclient "github.com/bogdanfinn/tls-client" |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
const ( |
|
|
const ( |
|
|
sliderCaptchaType = "slider" |
|
|
sliderCaptchaType = "slider" |
|
|
defaultSliderAttempts = 4 |
|
|
defaultSliderAttempts = 4 |
|
|
@ -979,7 +980,6 @@ func buildSliderCursor(candidateIndex int, candidateCount int, startTime int64) |
|
|
} |
|
|
} |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func trySliderCaptchaCandidates( |
|
|
func trySliderCaptchaCandidates( |
|
|
candidates []sliderCandidate, |
|
|
candidates []sliderCandidate, |
|
|
maxAttempts int, |
|
|
maxAttempts int, |
|
|
|