fix: add additional cloudflare title (Glassdoor specific) (#3342)

This commit is contained in:
Dag 2023-05-11 01:33:38 +02:00 committed by GitHub
parent dc4134ed1d
commit 50865d5741
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -191,7 +191,8 @@ function getContents(
$cloudflareTitles = [ $cloudflareTitles = [
'<title>Just a moment...', '<title>Just a moment...',
'<title>Please Wait...', '<title>Please Wait...',
'<title>Attention Required!' '<title>Attention Required!',
'<title>Security | Glassdoor',
]; ];
foreach ($cloudflareTitles as $cloudflareTitle) { foreach ($cloudflareTitles as $cloudflareTitle) {
if (str_contains($result['body'], $cloudflareTitle)) { if (str_contains($result['body'], $cloudflareTitle)) {