FriendsOfPHP / Goutte

Goutte, a simple PHP Web Scraper
MIT License
9.26k stars 1.01k forks source link

Fix the example in README.rst #339

Closed dunglas closed 6 years ago

dunglas commented 6 years ago

The URL https://www.symfony.com/blog/ has an invalid SSL certificate, so the example fail:

PHP Fatal error:  Uncaught Guzzle\Http\Exception\CurlException: [curl] 51: SSL: no alternative certificate subject name matches target host name 'www.symfony.com' [url] https://www.symfony.com/blog/ in phar:///Users/dunglas/workspace/bytel/test-machine/goutte-v1.0.7.phar/vendor/guzzle/http/Guzzle/Http/Curl/CurlMulti.php:359

A better fix would be to fix the certificate on www.symfony.com 🙃

fabpot commented 6 years ago

SSL certificates have been fixed now.