Show an error in hcaptcha-solver. Resolves #132

This commit is contained in:
ngosang 2021-05-30 14:15:08 +02:00
parent c6677f4d84
commit 5242cf3359

View File

@ -11,10 +11,15 @@ import { SolverOptions } from '.'
*/ */
export default async function solve({ url }: SolverOptions): Promise<string> { export default async function solve({ url }: SolverOptions): Promise<string> {
throw new Error("hcaptcha-solver is not able to solve the new hCaptcha challenge. This issue is already reported #31.");
/*
try { try {
return await solveCaptcha(url) return await solveCaptcha(url)
} catch (e) { } catch (e) {
console.error(e) console.error(e)
return null return null
} }
*/
} }