+ } catch (CaptchaRequiredException e) {
+ if (captcha == null) {
+ System.err.println("Captcha required for verification, use --captcha CAPTCHA");
+ System.err.println("To get the token, go to https://signalcaptchas.org/registration/generate.html");
+ System.err.println("Check the developer tools (F12) console for a failed redirect to signalcaptcha://");
+ System.err.println("Everything after signalcaptcha:// is the captcha token.");
+ } else {
+ System.err.println("Invalid captcha given.");
+ }
+ return 1;