Merge branch 'feature-download-delay' of https://github.com/dwbfox/bulk-downloader-for-reddit into dwbfox-feature-download-delay

This commit is contained in:
Ali Parlakci
2021-03-26 13:04:22 +03:00
2 changed files with 13 additions and 0 deletions

View File

@@ -164,6 +164,12 @@ class Arguments:
action="store_true",
help="Just saved posts into a the POSTS.json file without downloading")
parser.add_argument(
"--download-delay",
metavar="DELAY",
type=int,
help="Amount, in seconds, to delay before beginning the next item in the download queue")
if arguments == []:
return parser.parse_args()
return parser.parse_args(arguments)