Friday, 22 May 2020

Running headless browser on remote server that React Native could call to?

I know this is quite a broad question, but i'm very lost on this subject. I'm building a react native application that needs to perform scheduled scraping tasks in the backend. I've been using puppeteer for a headless browser, but it of course doesn't make much sense to be able to run a headless browser in the backend of a react native app. So I've been looking for ways that I could run it on a remote server, REST API of some kind? And make API calls to that server through my main thread in the react native app.I have no idea where to even start with such a task. What server services could I host javascript and a headless browser on? Is this the best way to approach such a task?Thanks.

Submitted May 23, 2020 at 03:43AM by jacobluc457

No comments:

Post a Comment