-
Notifications
You must be signed in to change notification settings - Fork 36
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
HtmlCollectionScraper gives 500 error #1266
Comments
I have attempted to modify these files in place and restart the service and I have the following new error which seems to be related to the image not being scraped properly. This probably has something to do with the fact that I only very barely attempted to understand what's going on here, and there's probably a few other changes that needed to happen to emulate the referenced commit. The new error is:
For completeness sake, here is my scraper:
|
With this patch the scrap finishes successfully, but the thumbnail isn't scraped properly. So it's not a full solution yet.
|
I had a quick look today and did a quick fix but as you noticed the image can't be properly scrapped. I'm looking into new ways to scrap urls, like this method suggested here #1263. I may have another solution but I'm having a hard time making it work with Docker (https://github.com/symfony/panther) It's going to take some time but I hope I can push a better implementation for the scrapper in the next release |
That's interesting, because the same scraper seems to work as an Item scraper rather than a collection scraper. Unless something changed with the website overnight (which is possible.) |
I've tried only for Wish scraper and it gives the same error. I tried the patch, it didn't solve my problem. |
I get the following error:
I was able to hunt it down to commit 432f476 which seems to had added image scraping, which required an API change, but this API change wasn't added to HtmlCollectionScraper.php and also line 22.
It seems like
$scraping
as a variable is available in this context, so it might be as simple as simply adding this variable to the 4th argument position in both locations. However, I'm not familiar enough with the project to feel confident in creating a PR.Thank you for your hard work!
The text was updated successfully, but these errors were encountered: