Skip to content

Output to database #83

Answered by philippta
dejurin asked this question in Q&A
Feb 18, 2025 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

Yes, that was the intention of having this modular architecture, so that the functionality can be easily extended.

I didn’t have MongoDB planned yet, as I have little insights in what environments people use flyscrape, but I’m happy to support it.

If you would like, and already have a module for it, feel free to submit a pull request and we can discuss it there.

What I would like to see (and my mongodb knowledge is very limited) is a config option to enable it, like so:

output: {
    mongodb: {
        uri: "mongodb://...",
        database: "exampledb",
        collection: "news",
    },
},

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@dejurin
Comment options

@philippta
Comment options

Answer selected by dejurin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants