Add user agent to ApiFetcher
This commit is contained in:
parent
d851807935
commit
bb3d80b86c
@ -51,7 +51,7 @@ class ApiFetcher {
|
|||||||
|
|
||||||
$content = file_get_contents($requesturl, false, stream_context_create([
|
$content = file_get_contents($requesturl, false, stream_context_create([
|
||||||
"http" => [
|
"http" => [
|
||||||
"header" => "User-Agent: Mozilla/5.0 (PHP) See source.netsyms.com"
|
"user_agent" => "Mozilla/5.0 (PHP) See source.netsyms.com"
|
||||||
]
|
]
|
||||||
]));
|
]));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user