@GamiD Вот функция, там всего один простой запрос, думаю разберешься
func getSolution(key, token string) (string, error) { url := fmt.Sprintf("https://www.google.com/recaptcha/api2/reload?k=%s", key) payload := fmt.Sprintf("reason=q&c=%s&size=invisible", token) resp, err := http.Post(url, "application/x-www-form-urlencoded", strings.NewReader(payload)) if err != nil { return "", err } defer resp.Body.Close() if resp.StatusCode != http.StatusOK { return "", fmt.Errorf("Failed to retrieve solution: %v", resp.Status) } // Read the response body body, err := io.ReadAll(resp.Body) if err != nil { return "", err } re := regexp.MustCompile(`"rresp","(.*?)",`) match := re.FindStringSubmatch(string(body)) if len(match) < 2 { return "", fmt.Errorf("Failed to extract 'rresp' value from the response body") } solution := match[1] return solution, nil }recaptcha v1 audio
-
@ilekor Не работало из-за того, что нужно установить название модуля и запретить БАС конвертить в картинку.
Вот этот кусок можно вставить в "Выполнить Код"solver_property("capmonster","bas_disable_image_convert","1") solver_property("capmonster","CapMonsterModule","ZennoLab.AudioReCaptcha") solver_property("capmonster","Task","") solver_property("capmonster","serverurl",[[CAP_SERVER]]) capmonster([[CAP_KEY]]) solve_base64("capmonster",[[FILE_CONTENT]])! [[CAPTCHA_RESULT]] = _result()Вот готовый проект
0_1481628989398_audiorecaptcha.xml



