joshua-hull / Reddit-Image-Scraper

Perl script to download imaged hosted at imgur.com linked from a subreddit at reddit.com
25 stars 8 forks source link

Issue 30/more args limit constant #31

Closed aggrolite closed 10 years ago

aggrolite commented 10 years ago

Well, here's a crack at solving Issue #30:

commit use LIMIT constant, support more options for Issue #30 …

-Switch to Getopt::Long to support full and abbreviated names -new options include: -s, --sort -t, --time -a, --after -h, --help

-set options in BEGIN to allow LIMIT constant to use $opt_l -DON'T limit the items per page as we don't know how many of those posts will be imgur links



Documentation was also added.  We can add more as we go.  @thedead would you mind testing this branch when you have time?
aggrolite commented 10 years ago

I've included a few TODO's if someone wants to make tickets for those (or write some code)