Skip to content

Commit

Permalink
Eschew reddit threads where no. of downvotes are >80% of no. of upvotes
Browse files Browse the repository at this point in the history
  • Loading branch information
hinrik committed Aug 24, 2011
1 parent 9ad081c commit 2ad02c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/failo-reddit-thread.pl
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@
@{ $content->{data}{children} };
my $data = $thread->{data};
exit if $data->{num_comments} < 250;
exit if $data->{downs} / $data->{ups} > 0.8;
say "/r/$data->{subreddit}: $data->{title} - http://redd.it/$data->{id}";
}

0 comments on commit 2ad02c8

Please sign in to comment.