-
Notifications
You must be signed in to change notification settings - Fork 432
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Internal error 500 with lazy load #107
Comments
Would you be able to provide me with the URL of the website you are scraping so I can test it myself? |
Sorry, I forgot the link. Url = http://www.canadiantire.ca/fr/pdp/dewalt-20v-max-li-ion-drill-impact-driver-kit-0543177p.html Best regards. |
I managed to find out what the issue was. The lazy script was logging loaded resources to the debug output but this was causing the script to hang when their were are large number of resources. I have removed resource logging and it successfully loads the URL you provided. I have released You will want to clear the compiler cache before trying again:
Remember to remove the Let me know how you get on. |
Hi,
when I test with http://jonnyw.kiwi/tests/test-lazy.php, everything is ok (got the page and the 'loaded' content). I have an internal error after several minutes with a website I'm scrapping (but no error on 'basic usage script' with delay).
Here is my code:
`
require 'vendor/autoload.php';
use JonnyW\PhantomJs\Client;
Thanks for your help.
ps: sorry for my english, it's not my primary language.
The text was updated successfully, but these errors were encountered: