Press J to jump to the feed. Press question mark to learn the rest of the keyboard shortcuts
0
Archived

Is there a way to export your comment history into a text file? There used to be a stats site which could do this. Sure would be handy if you've been posting for awhile.

4 comments
33% Upvoted
This thread is archived
New comments cannot be posted and votes cannot be cast
level 1

I wrote a script to do this a while ago, but can't seem to find it now, so rewrote it for you. :-)

http://gist.github.com/341172

It's not the smartest beast in the world: It just dumps json output that's the concatenation of the user/comments json API. One should be able to e.g. recreate links to the comments from this, but I've not bothered to do that.

level 2

FWIW, a URL format that works is:

"http://reddit.com/comments/#{parent_id.gsub(/.+_/, "")}/this_bit_is_ignored/#{id}

level 2
Original Poster1 point · 8 years ago

Holy cow. Thank you!

level 3

No worries. It took all of ten minutes to write and debug. :-)

Community Details

1.4m

Subscribers

3.8k

Online

Computer Programming

Create Post
r/programming Rules
1.
Keep submissions on topic and of high quality
2.
No surveys
3.
No résumés/job listings
4.
/r/programming is not a support forum
5.
Spam
Info

Related reddits

Specific languages

Cookies help us deliver our Services. By using our Services or clicking I agree, you agree to our use of cookies. Learn More.