2

I'm interested in downloading a backup of all my questions and answers on all Stack Exchange sites in the form of markdown files. I'm already aware of this SE data explorer query, but this downloads all of my questions and answers into a CSV file. I'm also aware of this question that was asked over 10 years ago, but I did not see any recent answers. Does there exist an app that does this? Or would I need to make one?

4
  • 1
    Have you tried submitting a GDPR access and/or data portability request? Commented Jan 14, 2024 at 19:28
  • @Makyen yes, but it doesn't seem to download my questions and answers in the form of Markdown files. Commented Jan 15, 2024 at 6:14
  • Are you saying it doesn't provide the Markdown? Or, are you saying that it just doesn't separate the Markdown for each question or answer into a separate file? Commented Jan 15, 2024 at 6:31
  • @Makyen the Markdown is embedded inside json files that are difficult to parse. Also, as you mentioned, the Markdown is not separated into separate question and answer files. I'm currently working on my own solution to do this using the Stack API, so we'll see how it goes... Commented Jan 15, 2024 at 13:48

1 Answer 1

2

I created a Python script that does what I want. The announcement for it can be found here, and the code itself with instructions on how to use it can be found here: https://github.com/mhdadk/stack-exchange-backup

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.