Open theRealBitcoinClub opened 2 years ago
When I visit a page in the browser with that following URL then I get a different output as to when I use the Scraper getPageContent() method
e.g. view-source:https://www.google.com/search?q=
delivers a different output than
webScraper.getPageContent().toString()
Is that because of some USER-AGENT settings and Google is preventing the scrape? How can I solve that issue?
Yes probably, I have to add an option to set custom USER-AGENT.
When I visit a page in the browser with that following URL then I get a different output as to when I use the Scraper getPageContent() method
e.g. view-source:https://www.google.com/search?q=
delivers a different output than
webScraper.getPageContent().toString()
Is that because of some USER-AGENT settings and Google is preventing the scrape? How can I solve that issue?