I want to pull data (maybe scrape) from a web site and save it to an external file.
My first thought was to write a Chrome extension to do that for me, but I could not find how to save to an external file. (I am a newbie with Chrome extensions.) I searched StackOverflow and found answers:
“You can’t do that in a Chrome extension.”,
“You can do it, but I’m not going to tell you how. ;)”
localStorage does not write to a user external file, and I may need to save many MB of data.
My second thought is to use Electron and write a special-purpose browser for the task. Electron has node built-in, so saving a file is possible.
Before I put time and energy into doing this, has anyone already tried it? Any pitfalls or roadblocks ahead?