Htmldom
Htmldom copied to clipboard
A Htmldom package for Laravel 4 based on Simple HTML Dom Parser
Hello! ```php use Yangqi\Htmldom\Htmldom; new Htmldom('https://www.imdb.com/title/tt0115433/'); ``` ``` file_get_contents(): SSL: Connection reset by peer /vendor/yangqi/htmldom/src/Yangqi/Htmldom/Htmldom.php:178 ``` while it's hard for me to tell if this problem is persistent or intermittent,...
Is this package abandoned? I'm having issues while upgrading my laravel project. ``` In HtmldomServiceProvider.php line 21: Call to undefined method Yangqi\Htmldom\HtmldomServiceProvider::package() ``` I also saw someone has already sent...
Only for laravel 5? not for 5.2?
For #20 issue. Also PHPUnit test for this new feature.
Is there anyway we can get HTML response status (200, 404 etc....)?
I got following Error when I tried with secured url: **ErrorException in Htmldom.php line 178: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed** However,...
How can I change the user agent?
Dear Yangqi, Is there anyway to fetch all html elements like ` $html = new \Htmldom($body); foreach ($html as $element) { echo $element->tag; } ` Thanks.