How can I migrate Stack Overflow data into Discourse?

I have a script I use to download posts from public Stack Overflow/Exchange to post on my Jekyll blog:

https://github.com/jericson/se2jekyll.rb

I considered using the Discourse API to post them to my forum, but I don’t have so many that copy-and-paste doesn’t work just as well. With a thousand or so posts, automating that steps is key! Good luck.