Skip to content

Commit

Permalink
Skip comment threads
Browse files Browse the repository at this point in the history
  • Loading branch information
Barry Hood authored and Barry Hood committed Jan 24, 2015
1 parent 51f63f6 commit 83dc8bf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions redditdownload.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,9 @@ def extract_urls(url):
for ITEM in ITEMS:
TOTAL += 1

if 'reddit.com/r/' + ARGS.reddit + '/comments/' in ITEM['url']:
continue

if ITEM['score'] < ARGS.score:
if ARGS.verbose:
print ' SCORE: %s has score of %s which is lower than required score of %s.' % (ITEM['id'], ITEM['score'], ARGS.score)
Expand Down

0 comments on commit 83dc8bf

Please sign in to comment.