From 4e0183cad937d6956d316b1dce05ad3231d7c2f0 Mon Sep 17 00:00:00 2001 From: deedy5 <65482418+deedy5@users.noreply.github.com> Date: Sun, 10 Nov 2024 00:33:41 +0300 Subject: [PATCH] CLI: images license parameter - add `ShareCommercially` --- duckduckgo_search/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/duckduckgo_search/cli.py b/duckduckgo_search/cli.py index e1dc99d..c00a64b 100644 --- a/duckduckgo_search/cli.py +++ b/duckduckgo_search/cli.py @@ -268,7 +268,7 @@ def answers(keywords, output, proxy, verify): "-lic", "--license_image", default=None, - type=click.Choice(["any", "Public", "Share", "Modify", "ModifyCommercially"]), + type=click.Choice(["any", "Public", "Share", "ShareCommercially", "Modify", "ModifyCommercially"]), ) @click.option("-m", "--max_results", default=90, help="maximum number of results, default=90") @click.option("-o", "--output", default="print", help="csv, json (save the results to a csv or json file)")