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

Use better parsing while getting command line arguments. #6

Open
balbi-uff opened this issue Feb 8, 2022 · 0 comments
Open

Use better parsing while getting command line arguments. #6

balbi-uff opened this issue Feb 8, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@balbi-uff
Copy link
Owner

Something like:
python 4chanScrapper.py -l "url" -p "path" -d
or
python 4chanScrapper.py --url "thread_url" --path "download_path" --create_folder
would be smarter to parse than the actual version, because argument order wouldn't matter.

https://docs.python.org/3/library/argparse.html
https://docs.python.org/3/library/optparse.html

@balbi-uff balbi-uff added the enhancement New feature or request label Feb 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant