@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
-
@artihorror У меня вроде рекапча 2 ((((
-
@artihorror Значит одна буду))
-
@romanbiz я хотела у Вас спросить как можно сделать чтобы на сайте https://speech-to-text-demo.ng.bluemix.net/ при нажатии на Voice Model: открывалось выпадающее меню с выбором US Engs (8KHz) я сделала через нажатие на елемент, но увы БАС не дает выпадающее меню.

