mirror of
https://github.com/NanmiCoder/MediaCrawler.git
synced 2026-06-09 03:17:25 +08:00
fix: #799
This commit is contained in:
@@ -203,7 +203,7 @@ class CrawlerManager:
|
|||||||
|
|
||||||
def _build_command(self, config: CrawlerStartRequest) -> list:
|
def _build_command(self, config: CrawlerStartRequest) -> list:
|
||||||
"""构建 main.py 命令行参数"""
|
"""构建 main.py 命令行参数"""
|
||||||
cmd = ["python", "main.py"]
|
cmd = ["uv", "run", "python", "main.py"]
|
||||||
|
|
||||||
cmd.extend(["--platform", config.platform.value])
|
cmd.extend(["--platform", config.platform.value])
|
||||||
cmd.extend(["--lt", config.login_type.value])
|
cmd.extend(["--lt", config.login_type.value])
|
||||||
|
|||||||
Reference in New Issue
Block a user