diff --git a/README.md b/README.md index ce49456..8e2e097 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,9 @@ It should redirect to a page which shows your **imgur_client_id** and **imgur_cl them, there. ## Changelog +### [20/07/2018]() +- "0" input for no limit + ### [19/07/2018](https://github.com/aliparlakci/bulk-downloader-for-reddit/tree/41cbb58db34f500a8a5ecc3ac4375bf6c3b275bb) - Added v.redd.it support - Added custom exception descriptions to FAILED.json file diff --git a/script.py b/script.py index a99b8f0..c59b3f3 100644 --- a/script.py +++ b/script.py @@ -320,7 +320,9 @@ class PromptUser: while True: try: - GLOBAL.arguments.limit = int(input("\nlimit: ")) + GLOBAL.arguments.limit = int(input("\nlimit (0 for none): ")) + if GLOBAL.arguments.limit == 0: + GLOBAL.arguments.limit = None break except ValueError: pass