4pr0n/gonewilder

Support Full Comment Logging

Closed this issue · 2 comments

Log user comments in full by default, log to /content/user/comments.txt

Note post/comment ID's with comments.

Added functionality in 5fa0899

The script already catalogs every post/comment in the database. I don't like the idea of duplicating the data both in the database and in a separate file...

There are now command-line options to dump the contents of these to stdout (console).

You can generate the file yourself via the shell:

./Gonewild.py --comments gingerpuss > comments_by_gingerpuss.txt

Also works for --posts. Sample output:

% ./Gonewild.py --posts <user>
Permalink: http://reddit.com/r/Sexy_Facebook_Girls/comments/21wf3s
    Title: test
 Url/Text: http://imgur.com/a/Ox6jN
     Date: 14-04-01T05:34:41Z
    Votes: +1/-0
./Gonewild.py --comments <user>
Permalink: http://reddit.com/r/lips/comments/222oo9/_/cgiu8ka
     Date: 14-04-03T05:23:23Z
    Votes: +2/-0
  Comment: You should see what it can do ;)