From df39d293de891ed1a23fbc87c21ea1f9a4e59045 Mon Sep 17 00:00:00 2001 From: wanzirong Date: Fri, 30 Jan 2026 11:13:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9--max=5Fconcurrency=E4=B8=BA-?= =?UTF-8?q?-max=5Fconcurrency=5Fnum,=E4=BF=9D=E6=8C=81=E5=91=BD=E5=90=8D?= =?UTF-8?q?=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd_arg/arg.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd_arg/arg.py b/cmd_arg/arg.py index bcc53db..266dd84 100644 --- a/cmd_arg/arg.py +++ b/cmd_arg/arg.py @@ -258,10 +258,10 @@ async def parse_cmd(argv: Optional[Sequence[str]] = None): rich_help_panel="Comment Configuration", ), ] = config.CRAWLER_MAX_COMMENTS_COUNT_SINGLENOTES, - max_concurrency: Annotated[ + max_concurrency_num: Annotated[ int, typer.Option( - "--max_concurrency", + "--max_concurrency_num", help="Maximum number of concurrent crawlers", rich_help_panel="Performance Configuration", ), @@ -291,7 +291,7 @@ async def parse_cmd(argv: Optional[Sequence[str]] = None): config.SAVE_DATA_OPTION = save_data_option.value config.COOKIES = cookies config.CRAWLER_MAX_COMMENTS_COUNT_SINGLENOTES = max_comments_count_singlenotes - config.MAX_CONCURRENCY_NUM = max_concurrency + config.MAX_CONCURRENCY_NUM = max_concurrency_num # Set platform-specific ID lists for detail/creator mode if specified_id_list: