mirror of
https://github.com/FlareSolverr/FlareSolverr.git
synced 2026-04-28 02:45:34 +02:00
Detect Cloudflare Access Denied
This commit is contained in:
@@ -6,7 +6,9 @@ import log from "../services/log";
|
||||
* This class contains the logic to solve protections provided by CloudFlare
|
||||
**/
|
||||
|
||||
const BAN_SELECTORS: string[] = [];
|
||||
const BAN_SELECTORS: string[] = [
|
||||
'div.main-wrapper div.header.section h1 span.code-label span' // CloudFlare
|
||||
];
|
||||
const CHALLENGE_SELECTORS: string[] = [
|
||||
// todo: deprecate '#trk_jschal_js', '#cf-please-wait'
|
||||
'#cf-challenge-running', '#trk_jschal_js', '#cf-please-wait', // CloudFlare
|
||||
|
||||
Reference in New Issue
Block a user