Skip to content

Commit 00c23b4

Browse files
committed
used a more compatible user agent
1 parent 7695855 commit 00c23b4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Http/CurlDispatcher.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ class CurlDispatcher implements DispatcherInterface
2121
CURLOPT_ENCODING => '',
2222
CURLOPT_AUTOREFERER => true,
2323
CURLOPT_FOLLOWLOCATION => true,
24-
CURLOPT_USERAGENT => 'Mozilla/5.0',
24+
CURLOPT_USERAGENT => 'Embed PHP library',
25+
CURLOPT_USERAGENT => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36',
2526
CURLOPT_IPRESOLVE => CURL_IPRESOLVE_V4,
2627
];
2728

0 commit comments

Comments
 (0)