diff --git a/requirements.txt b/requirements.txt index 16bafe5..17a6b6e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,3 @@ requests windows-curses +Flask \ No newline at end of file diff --git a/webui/index.html b/webui/index.html index 08c999c..05f8975 100644 --- a/webui/index.html +++ b/webui/index.html @@ -1,10 +1,10 @@ - + - Download Task Manager + 沿河下载器
diff --git a/webui/script.js b/webui/script.js index 87ed018..c588577 100644 --- a/webui/script.js +++ b/webui/script.js @@ -112,10 +112,11 @@ setInterval(() => { if (task_obj["canceled"]) { return; } + const download_version = task_obj["download_type"] == 2 ? "电脑屏幕" : "摄像头" const html = `
- ${task_obj["name"]} + ${task_obj["name"]}(${download_version})