Global Feed Post Login
Replying to Avatar BTCapsule 🏴

It actually didn’t work. Works way better than before though 😂

I have a nodejs file that is pulling the latest json from my notes that say “test”, and storing them in an api.

Everything works, but when a new note is populated, I have to visit the url of the api and refresh the page. Then it will update my website.

I need a way to refresh that page automatically. I could write a script on my pc that does it, but that doesn’t seem like the correct solution 🙃

Avatar
. 2y ago

Could use something like selenium for the scraping. How are you persisting the notes?

Reply to this note

Please Login to reply.

Discussion

Avatar
BTCapsule 🏴 2y ago

I’ll look into selenium. I’m just using nostr-js by jb55 and hoping for the best 😂

Thread collapsed