|
|
|
|
|
by gwn7
1281 days ago
|
|
You're mentioning the worst possible scenario. First of all the answer recommends to use either a Pi or a VPS. If a Pi doesn't cut it for you, just switch to a VPS with sufficient specs for your requirement. Problem solved, now it's viable. Besides, a significant part of the web can be scraped without resorting to a heavyweight browser such as Chromium. It should always be the last resort. Even if you have to evaluate Javascript (in case of SPAs), there are much cheaper solutions than Puppeteer (JSDOM being an example) which can get the job done most of the time. As to Docker, I fail to see why you would need Docker for this kind of job, unless you don't know how to do it without Docker. When there is no portability requirement, the costs of Docker easily surpass its benefits. ... So no, it's not that what's being recommended in the answer is not viable. You're doing it wrong. Either you're using a Pi when you need to use a VPS or you are introducing unnecessary layers. |
|