Closed amurrell closed 1 year ago
Provide access to the GoutteClient - for any custom needs not wrapped in existing functions. Particularly useful for getting the response of the original request (eg. to get status code)
Example usage:
$statusCode = $web->client()->getInternalResponse()->getStatusCode();
This was previously requested functionality in https://github.com/spekulatius/PHPScraper/issues/60 and is requested again in https://github.com/spekulatius/PHPScraper/issues/154
Hey @amurrell,
okay, the topic got a bit lost. I've merged it in. Feel free to raise detail cases that will make working with the lib/Goutte easier.
Cheers, Peter
Updates:
Provide access to the GoutteClient - for any custom needs not wrapped in existing functions. Particularly useful for getting the response of the original request (eg. to get status code)
Example usage:
This was previously requested functionality in https://github.com/spekulatius/PHPScraper/issues/60 and is requested again in https://github.com/spekulatius/PHPScraper/issues/154