Merge branch 'master' of https://gitee.com/TeaCodeNice/crawler-plugin
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -144,6 +144,7 @@ class WindowAPI:
|
|||||||
)
|
)
|
||||||
return result[0] if result else ''
|
return result[0] if result else ''
|
||||||
|
|
||||||
|
<<<<<<< HEAD
|
||||||
def upload_file_to_java(self, file_path, relative_path=None):
|
def upload_file_to_java(self, file_path, relative_path=None):
|
||||||
"""按本地路径读取文件并上传到 Java 后端临时目录。"""
|
"""按本地路径读取文件并上传到 Java 后端临时目录。"""
|
||||||
if not file_path or not str(file_path).strip():
|
if not file_path or not str(file_path).strip():
|
||||||
@@ -167,6 +168,8 @@ class WindowAPI:
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
return {'success': False, 'error': str(e)}
|
return {'success': False, 'error': str(e)}
|
||||||
|
|
||||||
|
=======
|
||||||
|
>>>>>>> 574b372f425e4b0a35d1b371580628c4cfbcc45d
|
||||||
def save_file_from_url(self, url, default_filename='download.zip'):
|
def save_file_from_url(self, url, default_filename='download.zip'):
|
||||||
"""弹窗选择保存位置,从 url 下载文件并保存。用于品牌任务结果 zip 等。"""
|
"""弹窗选择保存位置,从 url 下载文件并保存。用于品牌任务结果 zip 等。"""
|
||||||
if not url or not url.strip():
|
if not url or not url.strip():
|
||||||
|
|||||||
@@ -1,15 +1,18 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="zh-CN">
|
<html lang="zh-CN">
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8" />
|
<head>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta charset="UTF-8" />
|
||||||
<title>格式转换 - 数富AI</title>
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<script type="module" crossorigin src="/assets/convert.js"></script>
|
<title>格式转换 - 数富AI</title>
|
||||||
<link rel="modulepreload" crossorigin href="/assets/pywebview-DVgP2-kW.js">
|
<script type="module" crossorigin src="/assets/convert.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="/assets/pywebview-IqgMfeBe.css">
|
<link rel="modulepreload" crossorigin href="/assets/pywebview-BnpJyyGZ.js">
|
||||||
<link rel="stylesheet" crossorigin href="/assets/convert-6b0yq-M0.css">
|
<link rel="stylesheet" crossorigin href="/assets/pywebview-IqgMfeBe.css">
|
||||||
</head>
|
<link rel="stylesheet" crossorigin href="/assets/convert-BxkpMHO9.css">
|
||||||
<body>
|
</head>
|
||||||
<div id="app"></div>
|
|
||||||
</body>
|
<body>
|
||||||
|
<div id="app"></div>
|
||||||
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
@@ -1,15 +1,18 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="zh-CN">
|
<html lang="zh-CN">
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8" />
|
<head>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta charset="UTF-8" />
|
||||||
<title>数据去重 - 数富AI</title>
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<script type="module" crossorigin src="/assets/dedupe.js"></script>
|
<title>数据去重 - 数富AI</title>
|
||||||
<link rel="modulepreload" crossorigin href="/assets/pywebview-DVgP2-kW.js">
|
<script type="module" crossorigin src="/assets/dedupe.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="/assets/pywebview-IqgMfeBe.css">
|
<link rel="modulepreload" crossorigin href="/assets/pywebview-BnpJyyGZ.js">
|
||||||
<link rel="stylesheet" crossorigin href="/assets/dedupe-Day_nGxq.css">
|
<link rel="stylesheet" crossorigin href="/assets/pywebview-IqgMfeBe.css">
|
||||||
</head>
|
<link rel="stylesheet" crossorigin href="/assets/dedupe-DzFvTfoj.css">
|
||||||
<body>
|
</head>
|
||||||
<div id="app"></div>
|
|
||||||
</body>
|
<body>
|
||||||
|
<div id="app"></div>
|
||||||
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
@@ -1,15 +1,18 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="zh-CN">
|
<html lang="zh-CN">
|
||||||
<head>
|
|
||||||
<meta charset="UTF-8" />
|
<head>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta charset="UTF-8" />
|
||||||
<title>数据拆分 - 数富AI</title>
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<script type="module" crossorigin src="/assets/split.js"></script>
|
<title>数据拆分 - 数富AI</title>
|
||||||
<link rel="modulepreload" crossorigin href="/assets/pywebview-DVgP2-kW.js">
|
<script type="module" crossorigin src="/assets/split.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="/assets/pywebview-IqgMfeBe.css">
|
<link rel="modulepreload" crossorigin href="/assets/pywebview-BnpJyyGZ.js">
|
||||||
<link rel="stylesheet" crossorigin href="/assets/split-BsJfbBqn.css">
|
<link rel="stylesheet" crossorigin href="/assets/pywebview-IqgMfeBe.css">
|
||||||
</head>
|
<link rel="stylesheet" crossorigin href="/assets/split-DidKJ84l.css">
|
||||||
<body>
|
</head>
|
||||||
<div id="app"></div>
|
|
||||||
</body>
|
<body>
|
||||||
|
<div id="app"></div>
|
||||||
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
Reference in New Issue
Block a user