Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add argparser feature #10

Open
tjcim opened this issue Oct 23, 2017 · 3 comments
Open

Add argparser feature #10

tjcim opened this issue Oct 23, 2017 · 3 comments

Comments

@tjcim
Copy link
Contributor

tjcim commented Oct 23, 2017

Add the ability to call the script without requiring additional input from the user.

@2hands10fingers
Copy link
Owner

2hands10fingers commented Oct 29, 2017

@tjcim

Arguments for parsing ideas
Date selection
ex: _python3 RedditImageScraper.py -sDate "10282017 -eDate "10292017" _

Subreddit selection
ex: python3 RedditImageScraper.py --sDate "10282017 --eDate "10292017" --sub "wallpapers"

Selection of download path
ex: python3 RedditImageScraper.py --path "destination/to/path"

Download just today's images
python3 RedditImageScraper.py --today --sub "wallpapers"

Extra
Download image name, link, and how many upvotes and downvotes the image got to a csv

ex: python3 RedditImageScraper --csv

Ability to filter NSFW images
ex: python3 RedditImageScraper --nsfwFilter

@tjcim
Copy link
Contributor Author

tjcim commented Oct 29, 2017

I like all of those, except for the camel-cases, not very pythonic! :)

@2hands10fingers
Copy link
Owner

@tjcim Someone suggested making it --from and --to, so that's totally doable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants