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?
Asked
Active
Viewed 68 times
1
-
1Have you tried submitting a GDPR access and/or data portability request? – Makyen Jan 14 '24 at 19:28
-
@Makyen yes, but it doesn't seem to download my questions and answers in the form of Markdown files. – mhdadk Jan 15 '24 at 06: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? – Makyen Jan 15 '24 at 06: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... – mhdadk Jan 15 '24 at 13:48
1 Answers
1
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
mhdadk
- 151
- 4