-
Notifications
You must be signed in to change notification settings - Fork 165
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
Sometimes no content, but disable images and it works #13
Comments
Same here. Any further ideas ? Or possible way to enable error reporting ? |
I have the same problem with some sites, e.g. http://www.onet.pl (Polish popular news site). I've debugging the problem for several hours and found out this is happening when some of the images return 302 HTTP error code. The code doesn't handle that properly:
Funny thing is, even the comment // ? indicates unsure approach. For me it's enough to resort to the res.headers['location'], because the site refers to an image with a 302 redirection to a valid image. The real problem with that code is that branch of processing doesn't return anything and doesn't call the callback(), so simply the method call ends with no followup (callback). |
Example:
Needs investigation!
The text was updated successfully, but these errors were encountered: