Closed jslim89 closed 5 years ago
I found a way to add proxy
$options = [
'client' => [
'timeout' => 30,
'curl' => [
CURLOPT_PROXY => 'http://proxy-server.tld:12345',
CURLOPT_PROXYUSERPWD => 'mypass',
],
],
'request' => [
'verify' => false,
'headers' => [
]
],
];
$micrometa = new Parser();
$items = $micrometa($url, null, FORMAT::ALL, $options);
Can be set in the options
param
@jslim89 You were faster than I could respond, but yes, this is what I would have suggested. Glad you could resolve it! :)
My server IP are blocked by some sites,
Is there anyway to set this option? #