diff options
Diffstat (limited to 'lib/Scraper/Scraper.php')
-rw-r--r-- | lib/Scraper/Scraper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Scraper/Scraper.php b/lib/Scraper/Scraper.php index 998c4464c..b766a00b8 100644 --- a/lib/Scraper/Scraper.php +++ b/lib/Scraper/Scraper.php @@ -37,7 +37,7 @@ class Scraper implements IScraper CURLOPT_RETURNTRANSFER => true, // return web page CURLOPT_HEADER => false, // do not return headers CURLOPT_FOLLOWLOCATION => true, // follow redirects - //CURLOPT_USERAGENT => "php-news", // who am i + CURLOPT_USERAGENT => "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36", // who am i CURLOPT_AUTOREFERER => true, // set referer on redirect CURLOPT_CONNECTTIMEOUT => 120, // timeout on connect CURLOPT_TIMEOUT => 120, // timeout on response |