fixed cloudflare detection

This commit is contained in:
Leon 2020-11-25 12:43:24 +01:00 committed by GitHub
parent 7400dd407f
commit d8ccac2ac5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ class ChromeDriverManager(object):
for line in iter(lambda: fh.readline(), b""):
if b"cdc_" in line:
fh.seek(-len(line), 1)
newline = re.sub(b"cdc_.{22}", b"xxx_undetectedchromeDRiver", line)
newline = re.sub(b"cdc_.{22}", b"xxz_undetectedchromeDRiver", line)
fh.write(newline)
linect += 1
return linect