I am attempting to scrape a page which requires me to scroll many times to get to the bottom of the page (in order to load all of the data I wish to scrape.) I came up with a way to autoscroll to the bottom of the page executing javascript: var scroll = setInterval(function(){ window.scrollBy(0, 100); }, 2000).
This seems to work; however, I cannot complete the process because I keep getting the error that HS is running out of resources. HS then freezes and crashes. What is the way around this?
Please note, I'm not a coder and am pretty new to this - speak to me in small words, any step-by-step help would be appreciated.
Thanks
Running Out of Resources (Auto scrolling to bottom of page)
Re: Running Out of Resources (Auto scrolling to bottom of page)
Could you please create (or could someone share) a premade to load more data by scrolling down?
Re: Running Out of Resources (Auto scrolling to bottom of page)
I am having the exact same issue. Any guidance on a solution would be awesome!
Re: Running Out of Resources (Auto scrolling to bottom of page)
Hi,
The page is keeping in memory all the HTML and images that load every time you scroll to the bottom, so regardless of what you do, scrolling down will eventually crash the browser. Perhaps disabling images in IE will let you scroll a bit further.
I can think of a couple of safe workarounds but they'd all require JavaScript coding, such as clearing the HTML elements that have already been extracted from the page, or using the page's API to get this data.
The page is keeping in memory all the HTML and images that load every time you scroll to the bottom, so regardless of what you do, scrolling down will eventually crash the browser. Perhaps disabling images in IE will let you scroll a bit further.
I can think of a couple of safe workarounds but they'd all require JavaScript coding, such as clearing the HTML elements that have already been extracted from the page, or using the page's API to get this data.
Juan Soldi
The Helium Scraper Team
The Helium Scraper Team