Closed bernardosrulzon closed 6 years ago
I've also taken the opportunity to remove some IE user-agents that were resulting in these weird error messages:
{ "errorMessage":
"undefined is not an object (evaluating '(y(a)?y(a).parentWindow||y(a).defaultView:window).getComputedStyle(a,null).MozTransform.match')"
}
Hi, thx for sharing and sorry for the delay, but it's a bussy time for me. the changes looks fine i will check in detail the next days
@ecoron Thanks for all the hard work you've put into SerpScrap! It'll be hugely helpful to improve our SEO strategy and I'm excited about the future of this project.
I've bumped into an issue with search queries that return relatively few results on Google - they will have no pagination control and will fail your validation. You can find an example here.
This quick fix is working for me, but feel free to edit/improve it as you see fit. I'm not sure why you chose to check for pagination as a proxy for a correctly loaded page vs. using the
wait_until_title_contains_keyword()
method for everything.I've also edited the page number check because it seems to try to go to the next page event if I only want to scrap a single page - please see if this makes sense