Skip to content

Tag: node.js

Puppeteer: compare return result with a text file

So I have this code, which is now scraping the web and returns the result (message and username): Since the above code is scraping a website that is dynamically changing, what I’m trying to achieve is to avoid returning duplicate messages. One of the ways I thought it could be possible done is by: creat…

Custom blot format in Quill not translating to HTML

I am setting up Quill to use as a rich text editor in a blog project. I have the editor working correctly and can store user posts in mongoDB, retrieve them later, and display them. My code for doing this involves grabbing the delta from quill, stringifying it, then encoding this as a URI. This is what is sto…