Are there any browser addons, user scripts, SEDE magic, etc. to download code blocks from Stack Exchange posts?
Background use case: I'm working on a collection of test cases for the LaTeX beamer class and thought that I could use the code from the answers I have written on this topic in the past couple of years. However, as these are 2000+ posts, I don't particular fancy copy&pasting all of them. Visiting each post once and pressing some button to download a file would be OK. Something automatic would of course be better.
I'm aware of Shortcut or button for copying posted code from Stack Overflow and How to easily copy, download, or view all of "code box" in question? -- however the answers there seem to focus on copying the code block, an extra step I would like to avoid.