This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]DRMacIver 0 points1 point  (3 children)

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

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.

[–]DRMacIver 0 points1 point  (0 children)

FWIW, a URL format that works is:

"{parent\_id.gsub(/^.+_/, "")}/this_bit_is_ignored/#{id}

[–]tomparker[S] 0 points1 point  (1 child)

Holy cow. Thank you!

[–]DRMacIver 0 points1 point  (0 children)

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