mirror of
https://github.com/FlareSolverr/FlareSolverr.git
synced 2025-06-14 07:17:14 +00:00
Show an error in hcaptcha-solver. Resolves #132
This commit is contained in:
parent
c6677f4d84
commit
5242cf3359
@ -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
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user