accessing saved data with mongodb in an apofy actor
ive tried saving the data to a rawdata.json file from the data i scrape from my actors, however i dont get a json output even thought the scraping works
how would i save the data to the apify console that i can then use mongodb to take that data and put it in my database - i have my mongodb schema already setup so how would i save the data to the apify console and access it
heres what i have for saving the json file so far:
4 Replies
plain-purpleOP•2y ago
sunny-green•2y ago
@harish you can add a language to the three backticks for your code block to give it syntax highlighting–which will help you get help 🙂
plain-purpleOP•2y ago
i need to be able to save data to the apify console that i can then access from the actor, clean the data, and save to a database like mongodb
sunny-green•2y ago
@harish if you can get me access to the actor’s source or figure out syntax highlighting here, I can take a look and try to help
If you still need it 🙂