You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$client = new \FeedIo\Adapter\Http\Client(new Symfony\Component\HttpClient\HttplugClient());
$feedIo = new \FeedIo\FeedIo($client);
$result = $feedIo->read("Blah blah...");
But I can't figure out how to use "User-Agent".
I see the solution as an option to change:
"FeedIo\Adapter\Http\Client.php"
In "request" add the line: $headers['User-Agent'] = 'Blah blah...';
There are other options?
The text was updated successfully, but these errors were encountered:
I use:
But I can't figure out how to use "User-Agent".
I see the solution as an option to change:
"FeedIo\Adapter\Http\Client.php"
In "request" add the line:
$headers['User-Agent'] = 'Blah blah...';
There are other options?
The text was updated successfully, but these errors were encountered: