Files
xbot-market-info/market-robot-error.ipynb
2024-12-24 21:04:13 +08:00

481 lines
118 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"cells": [
{
"cell_type": "code",
"execution_count": 6,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>id</th>\n",
" <th>remark</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>433564079544967168</td>\n",
" <td>{\\r\\n \"ErrorSourceCode\": \" raise Exception...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>433630753985097728</td>\n",
" <td>{\\r\\n \"ErrorSourceCode\": \" web_page = xbot...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>433631161276129280</td>\n",
" <td>{\\r\\n \"ErrorSourceCode\": \" raise Exception...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>433638401925148672</td>\n",
" <td>{\\r\\n \"ErrorSourceCode\": \" raise Exception...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>433408441208643584</td>\n",
" <td>{\\r\\n \"ErrorSourceCode\": \" raise Exception...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>...</th>\n",
" <td>...</td>\n",
" <td>...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>136</th>\n",
" <td>435820323550818304</td>\n",
" <td>{\\r\\n \"ErrorSourceCode\": \" raise Exception...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>137</th>\n",
" <td>433651150331617280</td>\n",
" <td>{\\r\\n \"ErrorSourceCode\": \" web_page = xbot...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>138</th>\n",
" <td>435760526172385280</td>\n",
" <td>{\\r\\n \"ErrorSourceCode\": \" if time.time() ...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>139</th>\n",
" <td>435760889709199360</td>\n",
" <td>{\\r\\n \"ErrorSourceCode\": \" if time.time() ...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>140</th>\n",
" <td>435821996727042048</td>\n",
" <td>{\\r\\n \"ErrorSourceCode\": \" if len(response...</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"<p>141 rows × 2 columns</p>\n",
"</div>"
],
"text/plain": [
" id remark\n",
"0 433564079544967168 {\\r\\n \"ErrorSourceCode\": \" raise Exception...\n",
"1 433630753985097728 {\\r\\n \"ErrorSourceCode\": \" web_page = xbot...\n",
"2 433631161276129280 {\\r\\n \"ErrorSourceCode\": \" raise Exception...\n",
"3 433638401925148672 {\\r\\n \"ErrorSourceCode\": \" raise Exception...\n",
"4 433408441208643584 {\\r\\n \"ErrorSourceCode\": \" raise Exception...\n",
".. ... ...\n",
"136 435820323550818304 {\\r\\n \"ErrorSourceCode\": \" raise Exception...\n",
"137 433651150331617280 {\\r\\n \"ErrorSourceCode\": \" web_page = xbot...\n",
"138 435760526172385280 {\\r\\n \"ErrorSourceCode\": \" if time.time() ...\n",
"139 435760889709199360 {\\r\\n \"ErrorSourceCode\": \" if time.time() ...\n",
"140 435821996727042048 {\\r\\n \"ErrorSourceCode\": \" if len(response...\n",
"\n",
"[141 rows x 2 columns]"
]
},
"execution_count": 6,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"import pandas as pd\n",
"\n",
"df = pd.read_csv('data/market-robot-robot.csv', encoding='gbk')\n",
"len(df)\n",
"df"
]
},
{
"cell_type": "code",
"execution_count": 25,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
" web_page = xbot.web.get(mode=self.mode, url=\"*/seller/im 4\n",
" raise Exception(\"未找到 XPath.{} {}\".format(selector.name 25\n",
" raise Exception(e) 19\n",
" raise Exception('进入达人详情页失败') 1\n",
" web_page = xbot.web.get_active(mode=self.mode, load_time 39\n",
" if len(responses) == 0: raise Exception(\"获取达人信息失败,未获取到响应 9\n",
" web_page = xbot.web.create(f\"{self.domain}/connection/cr 1\n",
"None 1\n",
" raise Exception(data.get(\"msg\")) 1\n",
" self.ac.owner.activate() 2\n",
" drag_element = web_page.find(drag_ele) 1\n",
" raise Exception(f\"未找到商品卡片 {product_id}\") 1\n",
" if time.time() - start_load_timeout > load_timeout or se 2\n"
]
}
],
"source": [
"import json\n",
"\n",
"from collections import Counter\n",
"\n",
"data = []\n",
"for remark in df[\"remark\"]:\n",
" try:\n",
" res = json.loads(remark).get(\"ErrorSourceCode\")\n",
" data.append(res)\n",
"\n",
" except:\n",
" pass\n",
"\n",
"# len(data)\n",
"\n",
"c = Counter(data)\n",
"\n",
"for k, v in c.items():\n",
" print(str(k)[:60], v)"
]
},
{
"cell_type": "code",
"execution_count": 15,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"解析失败: {\n",
" \"ErrorSourceCode\": \" raise Exception(\\\"未找到 XPath.{} {}\\\".format(selector.name, selector.value))\",\n",
" \"Code\": 0,\n",
" \"ErrorMessage\": \"Exception: 未找到 XPath.ImLastMessage (//*[@id=\\\"im_sdk_ui_sdk_message_box\\\"]//*[@class=\\\"chatd-scrollView-content\\\"])[1]\",\n",
" \"StackTrace\": \"tool.py 109 _find raise Exception(\\\"未找到元素\\\")\\r\\nrunpy.py 193 _run_module_as_main \\\"__main__\\\", mod_spec)\\r\\nrunpy.py 85 _run_code exec(code, run_globals)\\r\\nxbot_interpreter.py 122 <module> main()\\r\\nxbot_interpreter.py 56 main mod.main(args)\\r\\nmain.py 11 main ], _block=(\\\"main\\\", 1, \\\"调用流程\\\"))\\r\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\r\\nprogram.py 542 run_send_message_by_list im_chat_page.to_send_message_page(creator_cid)\\r\\nprogram.py 820 to_send_message_page self.ac.find(X.ImLastMessage, timeout=100)\\r\\ntool.py 143 find elem = self._find(selector, timeout=timeout, load_timeout=load_timeout, throw=throw)\\r\\ntool.py 137 _find raise Exception(\\\"未找到 XPath.{} {}\\\".format(selector.name,\n",
"解析失败: {\n",
" \"ErrorSourceCode\": \" raise Exception(\\\"未找到 XPath.{} {}\\\".format(selector.name, selector.value))\",\n",
" \"Code\": 0,\n",
" \"ErrorMessage\": \"Exception: 未找到 XPath.InfoFollowers //*[@id=\\\"creator-detail-profile-container\\\"]//*[normalize-space(text())=\\\"Followers\\\"]/following-sibling::*[1]\",\n",
" \"StackTrace\": \"tool.py 109 _find raise Exception(\\\"未找到元素\\\")\\r\\nrunpy.py 193 _run_module_as_main \\\"__main__\\\", mod_spec)\\r\\nrunpy.py 85 _run_code exec(code, run_globals)\\r\\nxbot_interpreter.py 122 <module> main()\\r\\nxbot_interpreter.py 56 main mod.main(args)\\r\\nmain.py 11 main ], _block=(\\\"main\\\", 1, \\\"调用流程\\\"))\\r\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\r\\nprogram.py 472 run_send_message creator_info = self.get_creator_info(fc_page.ac, creator_cid)\\r\\nprogram.py 252 get_creator_info \\\"Followers\\\": ac.find(X.InfoFollowers).get_text(),\\r\\ntool.py 143 find elem = self._find(selector, timeout=timeout, load_timeout=load_timeout, throw=throw)\\r\\ntool.py 137 _find raise Exception(\\\"未\n",
"解析失败: {\n",
" \"ErrorSourceCode\": \" raise Exception(\\\"未找到 XPath.{} {}\\\".format(selector.name, selector.value))\",\n",
" \"Code\": 0,\n",
" \"ErrorMessage\": \"Exception: 未找到 XPath.FindCreators //*[.=\\\"Find creators\\\" and @class=\\\"m4b-page-header-title\\\"]\",\n",
" \"StackTrace\": \"tool.py 109 _find raise Exception(\\\"未找到元素\\\")\\r\\nrunpy.py 193 _run_module_as_main \\\"__main__\\\", mod_spec)\\r\\nrunpy.py 85 _run_code exec(code, run_globals)\\r\\nxbot_interpreter.py 122 <module> main()\\r\\nxbot_interpreter.py 56 main mod.main(args)\\r\\nmain.py 11 main ], _block=(\\\"main\\\", 1, \\\"调用流程\\\"))\\r\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\r\\nprogram.py 464 run_send_message url, headers, request_body = fc_page.get_request_args()\\r\\nprogram.py 686 get_request_args self.filter_by()\\r\\nprogram.py 594 filter_by self.ac.js_click(X.FindCreators).js_click(X.Reset)\\r\\ntool.py 189 js_click ele = self.find(x, timeout=timeout)\\r\\ntool.py 143 find elem = self._find(selector, timeout=timeout, load_timeout=load_timeout, throw=\n",
"解析失败: {\n",
" \"ErrorSourceCode\": \" raise Exception(\\\"未找到 XPath.{} {}\\\".format(selector.name, selector.value))\",\n",
" \"Code\": 0,\n",
" \"ErrorMessage\": \"Exception: 未找到 XPath.ImLastMessage (//*[@id=\\\"im_sdk_ui_sdk_message_box\\\"]//*[@class=\\\"chatd-scrollView-content\\\"])[1]\",\n",
" \"StackTrace\": \"tool.py 109 _find raise Exception(\\\"未找到元素\\\")\\r\\nrunpy.py 193 _run_module_as_main \\\"__main__\\\", mod_spec)\\r\\nrunpy.py 85 _run_code exec(code, run_globals)\\r\\nxbot_interpreter.py 122 <module> main()\\r\\nxbot_interpreter.py 56 main mod.main(args)\\r\\nmain.py 11 main ], _block=(\\\"main\\\", 1, \\\"调用流程\\\"))\\r\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\r\\nprogram.py 479 run_send_message if skip_by != \\\"不跳过\\\" and im_chat_page.is_skip(creator_cid):\\r\\nprogram.py 799 is_skip self.to_send_message_page(creator_cid)\\r\\nprogram.py 820 to_send_message_page self.ac.find(X.ImLastMessage, timeout=100)\\r\\ntool.py 143 find elem = self._find(selector, timeout=timeout, load_timeout=load_timeout, throw=throw)\\r\\ntool.p\n",
"解析失败: {\n",
" \"ErrorSourceCode\": \" raise Exception(\\\"未找到 XPath.{} {}\\\".format(selector.name, selector.value))\",\n",
" \"Code\": 0,\n",
" \"ErrorMessage\": \"Exception: 未找到 XPath.ImLastMessage (//*[@id=\\\"im_sdk_ui_sdk_message_box\\\"]//*[@class=\\\"chatd-scrollView-content\\\"])[1]\",\n",
" \"StackTrace\": \"tool.py 109 _find raise Exception(\\\"未找到元素\\\")\\r\\nrunpy.py 193 _run_module_as_main \\\"__main__\\\", mod_spec)\\r\\nrunpy.py 85 _run_code exec(code, run_globals)\\r\\nxbot_interpreter.py 122 <module> main()\\r\\nxbot_interpreter.py 56 main mod.main(args)\\r\\nmain.py 11 main ], _block=(\\\"main\\\", 1, \\\"调用流程\\\"))\\r\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\r\\nprogram.py 479 run_send_message if skip_by != \\\"不跳过\\\" and im_chat_page.is_skip(creator_cid):\\r\\nprogram.py 799 is_skip self.to_send_message_page(creator_cid)\\r\\nprogram.py 820 to_send_message_page self.ac.find(X.ImLastMessage, timeout=100)\\r\\ntool.py 143 find elem = self._find(selector, timeout=timeout, load_timeout=load_timeout, throw=throw)\\r\\ntool.p\n",
"解析失败: {\n",
" \"ErrorSourceCode\": \" raise Exception(\\\"未找到 XPath.{} {}\\\".format(selector.name, selector.value))\",\n",
" \"Code\": 0,\n",
" \"ErrorMessage\": \"Exception: 未找到 XPath.ImLastMessage (//*[@id=\\\"im_sdk_ui_sdk_message_box\\\"]//*[@class=\\\"chatd-scrollView-content\\\"])[1]\",\n",
" \"StackTrace\": \"tool.py 109 _find raise Exception(\\\"未找到元素\\\")\\r\\nrunpy.py 193 _run_module_as_main \\\"__main__\\\", mod_spec)\\r\\nrunpy.py 85 _run_code exec(code, run_globals)\\r\\nxbot_interpreter.py 122 <module> main()\\r\\nxbot_interpreter.py 56 main mod.main(args)\\r\\nmain.py 11 main ], _block=(\\\"main\\\", 1, \\\"调用流程\\\"))\\r\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\r\\nprogram.py 479 run_send_message if skip_by != \\\"不跳过\\\" and im_chat_page.is_skip(creator_cid):\\r\\nprogram.py 799 is_skip self.to_send_message_page(creator_cid)\\r\\nprogram.py 820 to_send_message_page self.ac.find(X.ImLastMessage, timeout=100)\\r\\ntool.py 143 find elem = self._find(selector, timeout=timeout, load_timeout=load_timeout, throw=throw)\\r\\ntool.p\n",
"解析失败: {\n",
" \"ErrorSourceCode\": \" raise Exception(\\\"未找到 XPath.{} {}\\\".format(selector.name, selector.value))\",\n",
" \"Code\": 0,\n",
" \"ErrorMessage\": \"Exception: 未找到 XPath.ImChatList //*[@id=\\\"im_sdk_ui_sdk_contact_list\\\"]\",\n",
" \"StackTrace\": \"program.py 1141 main raise ToolTipError(\\\"未选择运行模式,请选择\\\")\\r\\ntool.py 109 _find raise Exception(\\\"未找到元素\\\")\\r\\nrunpy.py 193 _run_module_as_main \\\"__main__\\\", mod_spec)\\r\\nrunpy.py 85 _run_code exec(code, run_globals)\\r\\nxbot_interpreter.py 122 <module> main()\\r\\nxbot_interpreter.py 56 main mod.main(args)\\r\\nmain.py 11 main ], _block=(\\\"main\\\", 1, \\\"调用流程\\\"))\\r\\nprogram.py 1170 main main({}) \\r\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\r\\nprogram.py 466 run_send_message im_page = self.get_im_chat_page(find_page)\\r\\nprogram.py 103 get_im_chat_page ac.find(X.ImChatList)\\r\\ntool.py 143 find elem = self._find(selector, timeout=timeout, load_timeout=load_timeout, throw=throw)\\r\\ntool.py 137 _find raise Exception(\\\"未找到 XPath.{} {}\\\".format(s\n",
"解析失败: {\n",
" \"ErrorSourceCode\": \" raise Exception(\\\"未找到 XPath.{} {}\\\".format(selector.name, selector.value))\",\n",
" \"Code\": 0,\n",
" \"ErrorMessage\": \"Exception: 未找到 XPath.ImChatList (//*[@id=\\\"im_sdk_ui_sdk_message_box\\\"]//*[@class=\\\"chatd-scrollView-content\\\"]|//*[@class=\\\"chatd-scrollView-content\\\"])[1]\",\n",
" \"StackTrace\": \"tool.py 109 _find raise Exception(\\\"未找到元素\\\")\\r\\nrunpy.py 193 _run_module_as_main \\\"__main__\\\", mod_spec)\\r\\nrunpy.py 85 _run_code exec(code, run_globals)\\r\\nxbot_interpreter.py 122 <module> main()\\r\\nxbot_interpreter.py 56 main mod.main(args)\\r\\nmain.py 11 main ], _block=(\\\"main\\\", 1, \\\"调用流程\\\"))\\r\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\r\\nprogram.py 513 run_send_message_by_list im_page = self.get_im_chat_page(find_page)\\r\\nprogram.py 103 get_im_chat_page ac.find(X.ImChatList)\\r\\ntool.py 143 find elem = self._find(selector, timeout=timeout, load_timeout=load_timeout, throw=throw)\\r\\ntool.py 137 _find raise Exception(\\\"未找到 XPath.{} {}\\\".format(selec\n",
"解析失败: {\n",
" \"ErrorSourceCode\": \" raise Exception(\\\"未找到 XPath.{} {}\\\".format(selector.name, selector.value))\",\n",
" \"Code\": 0,\n",
" \"ErrorMessage\": \"Exception: 未找到 XPath.FilterLabelL3 //li[normalize-space(.)=\\\"Follower\\\" or normalize-space(.)=\\\"Follower\\\"]/div\",\n",
" \"StackTrace\": \"tool.py 109 _find raise Exception(\\\"未找到元素\\\")\\r\\nrunpy.py 193 _run_module_as_main \\\"__main__\\\", mod_spec)\\r\\nrunpy.py 85 _run_code exec(code, run_globals)\\r\\nxbot_interpreter.py 122 <module> main()\\r\\nxbot_interpreter.py 56 main mod.main(args)\\r\\nmain.py 11 main ], _block=(\\\"main\\\", 1, \\\"调用流程\\\"))\\r\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\r\\nprogram.py 344 run_targeted_invitation url, headers, request_body = fc_page.get_request_args()\\r\\nprogram.py 686 get_request_args self.filter_by()\\r\\nprogram.py 599 filter_by self.ac.click(X.ListBox).click(X.f(X.FilterLabelL3, [sort_by, sort_by.title()]))\\r\\ntool.py 179 click elem = self.find(x, timeout=timeout)\\r\\ntool.py 143 find elem = self._find(selector,\n",
"解析失败: {\n",
" \"ErrorSourceCode\": \" raise Exception(\\\"未找到 XPath.{} {}\\\".format(selector.name, selector.value))\",\n",
" \"Code\": 0,\n",
" \"ErrorMessage\": \"Exception: 未找到 XPath.FilterLabelL3 //li[normalize-space(.)=\\\"Follower\\\" or normalize-space(.)=\\\"Follower\\\"]/div\",\n",
" \"StackTrace\": \"program.py 1141 main raise ToolTipError(\\\"未选择运行模式,请选择\\\")\\r\\ntool.py 109 _find raise Exception(\\\"未找到元素\\\")\\r\\nrunpy.py 193 _run_module_as_main \\\"__main__\\\", mod_spec)\\r\\nrunpy.py 85 _run_code exec(code, run_globals)\\r\\nxbot_interpreter.py 122 <module> main()\\r\\nxbot_interpreter.py 56 main mod.main(args)\\r\\nmain.py 11 main ], _block=(\\\"main\\\", 1, \\\"调用流程\\\"))\\r\\nprogram.py 1170 main main({}) \\r\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\r\\nprogram.py 344 run_targeted_invitation url, headers, request_body = fc_page.get_request_args()\\r\\nprogram.py 686 get_request_args self.filter_by()\\r\\nprogram.py 599 filter_by self.ac.click(X.ListBox).click(X.f(X.FilterLabelL3, [sort_by, sort_by.title()]))\\r\\ntool.\n",
"解析失败: {\n",
" \"ErrorSourceCode\": \" raise Exception(\\\"未找到 XPath.{} {}\\\".format(selector.name, selector.value))\",\n",
" \"Code\": 0,\n",
" \"ErrorMessage\": \"Exception: 未找到 XPath.ImLastMessage (//*[@id=\\\"im_sdk_ui_sdk_message_box\\\"]//*[@class=\\\"chatd-scrollView-content\\\"]|//*[@class=\\\"chatd-scrollView-content\\\"])[1]\",\n",
" \"StackTrace\": \"tool.py 109 _find raise Exception(\\\"未找到元素\\\")\\r\\nrunpy.py 193 _run_module_as_main \\\"__main__\\\", mod_spec)\\r\\nrunpy.py 85 _run_code exec(code, run_globals)\\r\\nxbot_interpreter.py 122 <module> main()\\r\\nxbot_interpreter.py 56 main mod.main(args)\\r\\nmain.py 11 main ], _block=(\\\"main\\\", 1, \\\"调用流程\\\"))\\r\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\r\\nprogram.py 372 run_targeted_invitation if skip_by != \\\"不跳过\\\" and im_chat_page.is_skip(creator_cid):\\r\\nprogram.py 799 is_skip self.to_send_message_page(creator_cid)\\r\\nprogram.py 820 to_send_message_page self.ac.find(X.ImLastMessage, timeout=100)\\r\\ntool.py 143 find elem = self._find(selector, timeout=timeout, l\n",
"解析失败: {\n",
" \"ErrorSourceCode\": \" web_page = xbot.web.get_active(mode=self.mode, load_timeout=20, silent_running=False)\",\n",
" \"Code\": 1,\n",
" \"ErrorMessage\": \"Message:获取superbrowser浏览器配置失败,请尝试在影刀中重新为该浏览器安装插件\",\n",
" \"StackTrace\": \"program.py 1163 main tk = TikTokHandler(user_config)\\r\\nprogram.py 52 __init__ self.domain = self.get_do_main()\\r\\nprogram.py 65 get_do_main raise ToolTipError(\\\"请先进入tiktok首页\\\")\\r\\nprogram.py 1163 main tk = TikTokHandler(user_config)\\r\\nprogram.py 52 __init__ self.domain = self.get_do_main()\\r\\nprogram.py 65 get_do_main raise ToolTipError(\\\"请先进入tiktok首页\\\")\\r\\nrunpy.py 193 _run_module_as_main \\\"__main__\\\", mod_spec)\\r\\nrunpy.py 85 _run_code exec(code, run_globals)\\r\\nxbot_interpreter.py 122 <module> main()\\r\\nxbot_interpreter.py 56 main mod.main(args)\\r\\nmain.py 11 main ], _block=(\\\"main\\\", 1, \\\"调用流程\\\"))\\r\\nprogram.py 1170 main main({}) \\r\\nprogram.py 1170 main main({}) \\r\\nprogram.py 1163 main tk = TikTokHandler(user_config)\\r\\nprogram.py 52 __init__ self.domain =\n",
"解析失败: {\n",
" \"ErrorSourceCode\": \" raise Exception(\\\"未找到 XPath.{} {}\\\".format(selector.name, selector.value))\",\n",
" \"Code\": 0,\n",
" \"ErrorMessage\": \"Exception: 未找到 XPath.FilterLabelL3 //li[normalize-space(.)=\\\"Food & Beverages\\\" or normalize-space(.)=\\\"Food & Beverages\\\"]/div\",\n",
" \"StackTrace\": \"tool.py 109 _find raise Exception(\\\"未找到元素\\\")\\r\\nrunpy.py 193 _run_module_as_main \\\"__main__\\\", mod_spec)\\r\\nrunpy.py 85 _run_code exec(code, run_globals)\\r\\nxbot_interpreter.py 122 <module> main()\\r\\nxbot_interpreter.py 56 main mod.main(args)\\r\\nmain.py 11 main ], _block=(\\\"main\\\", 1, \\\"调用流程\\\"))\\r\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\r\\nprogram.py 344 run_targeted_invitation url, headers, request_body = fc_page.get_request_args()\\r\\nprogram.py 686 get_request_args self.filter_by()\\r\\nprogram.py 681 filter_by _filter_by(filter_data)\\r\\nprogram.py 676 _filter_by _filter_by(item_data)\\r\\nprogram.py 676 _filter_by _filter_by(item_data)\\r\\nprogram.py 632 _filter_by self.ac.js_clic\n",
"解析失败: {\n",
" \"ErrorSourceCode\": \" raise Exception(\\\"未找到 XPath.{} {}\\\".format(selector.name, selector.value))\",\n",
" \"Code\": 0,\n",
" \"ErrorMessage\": \"Exception: 未找到 XPath.FilterLabelL3_Contains //li[contains(normalize-space(.), \\\"sold\\\")]/div\",\n",
" \"StackTrace\": \"tool.py 109 _find raise Exception(\\\"未找到元素\\\")\\r\\nrunpy.py 193 _run_module_as_main \\\"__main__\\\", mod_spec)\\r\\nrunpy.py 85 _run_code exec(code, run_globals)\\r\\nxbot_interpreter.py 122 <module> main()\\r\\nxbot_interpreter.py 56 main mod.main(args)\\r\\nmain.py 11 main ], _block=(\\\"main\\\", 1, \\\"调用流程\\\"))\\r\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\r\\nprogram.py 344 run_targeted_invitation url, headers, request_body = fc_page.get_request_args()\\r\\nprogram.py 686 get_request_args self.filter_by()\\r\\nprogram.py 597 filter_by self.ac.click(X.ListBox).click(X.f(X.FilterLabelL3_Contains, \\\"sold\\\"))\\r\\ntool.py 179 click elem = self.find(x, timeout=timeout)\\r\\ntool.py 143 find elem = self._find(selector, timeout=timeout, load_timeo\n",
"解析失败: {\n",
" \"ErrorSourceCode\": \" raise Exception(\\\"未找到 XPath.{} {}\\\".format(selector.name, selector.value))\",\n",
" \"Code\": 0,\n",
" \"ErrorMessage\": \"Exception: 未找到 XPath.TargetCollaboration //*[@class=\\\"m4b-breadcrumb-item-str\\\" and text()=\\\"Target collaboration\\\"]\",\n",
" \"StackTrace\": \"tool.py 109 _find raise Exception(\\\"未找到元素\\\")\\r\\nrunpy.py 193 _run_module_as_main \\\"__main__\\\", mod_spec)\\r\\nrunpy.py 85 _run_code exec(code, run_globals)\\r\\nxbot_interpreter.py 122 <module> main()\\r\\nxbot_interpreter.py 56 main mod.main(args)\\r\\nmain.py 11 main ], _block=(\\\"main\\\", 1, \\\"调用流程\\\"))\\r\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\r\\nprogram.py 377 run_targeted_invitation target_page.init_target_page(is_init)\\r\\nprogram.py 986 init_target_page self.ac.click(X.TargetCollaboration).try_click(X.ViewInvitations)\\r\\ntool.py 179 click elem = self.find(x, timeout=timeout)\\r\\ntool.py 143 find elem = self._find(selector, timeout=timeout, load_timeout=load_timeout, throw=throw)\\r\\ntool.py 137 \n",
"解析失败: {\n",
" \"ErrorSourceCode\": \" raise Exception(\\\"未找到 XPath.{} {}\\\".format(selector.name, selector.value))\",\n",
" \"Code\": 0,\n",
" \"ErrorMessage\": \"Exception: 未找到 XPath.ImSendImage //*[@id=\\\"im_sdk_ui_sdk_chat_input\\\"]//*[contains(@class, \\\"file_image\\\")]\",\n",
" \"StackTrace\": \"tool.py 109 _find raise Exception(\\\"未找到元素\\\")\\r\\nrunpy.py 193 _run_module_as_main \\\"__main__\\\", mod_spec)\\r\\nrunpy.py 85 _run_code exec(code, run_globals)\\r\\nxbot_interpreter.py 122 <module> main()\\r\\nxbot_interpreter.py 56 main mod.main(args)\\r\\nmain.py 11 main ], _block=(\\\"main\\\", 1, \\\"调用流程\\\"))\\r\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\r\\nprogram.py 543 run_send_message_by_list result, msg = im_chat_page.send_message()\\r\\nprogram.py 886 send_message self.ac.find(X.ImSendImage).upload([image_path])\\r\\ntool.py 143 find elem = self._find(selector, timeout=timeout, load_timeout=load_timeout, throw=throw)\\r\\ntool.py 137 _find raise Exception(\\\"未找到 XPath.{} {}\\\".format(selector.name, selector.value))\\\n",
"解析失败: {\n",
" \"ErrorSourceCode\": \" raise Exception(\\\"未找到 XPath.{} {}\\\".format(selector.name, selector.value))\",\n",
" \"Code\": 0,\n",
" \"ErrorMessage\": \"Exception: 未找到 XPath.ImSendImage //*[@id=\\\"im_sdk_ui_sdk_chat_input\\\"]//*[contains(@class, \\\"file_image\\\")]\",\n",
" \"StackTrace\": \"tool.py 109 _find raise Exception(\\\"未找到元素\\\")\\r\\nrunpy.py 193 _run_module_as_main \\\"__main__\\\", mod_spec)\\r\\nrunpy.py 85 _run_code exec(code, run_globals)\\r\\nxbot_interpreter.py 122 <module> main()\\r\\nxbot_interpreter.py 56 main mod.main(args)\\r\\nmain.py 11 main ], _block=(\\\"main\\\", 1, \\\"调用流程\\\"))\\r\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\r\\nprogram.py 543 run_send_message_by_list result, msg = im_chat_page.send_message()\\r\\nprogram.py 886 send_message self.ac.find(X.ImSendImage).upload([image_path])\\r\\ntool.py 143 find elem = self._find(selector, timeout=timeout, load_timeout=load_timeout, throw=throw)\\r\\ntool.py 137 _find raise Exception(\\\"未找到 XPath.{} {}\\\".format(selector.name, selector.value))\\\n",
"解析失败: {\n",
" \"ErrorSourceCode\": \" raise Exception(\\\"未找到 XPath.{} {}\\\".format(selector.name, selector.value))\",\n",
" \"Code\": 0,\n",
" \"ErrorMessage\": \"Exception: 未找到 XPath.ImSendImage //*[@id=\\\"im_sdk_ui_sdk_chat_input\\\"]//*[contains(@class, \\\"file_image\\\")]\",\n",
" \"StackTrace\": \"tool.py 109 _find raise Exception(\\\"未找到元素\\\")\\r\\nrunpy.py 193 _run_module_as_main \\\"__main__\\\", mod_spec)\\r\\nrunpy.py 85 _run_code exec(code, run_globals)\\r\\nxbot_interpreter.py 122 <module> main()\\r\\nxbot_interpreter.py 56 main mod.main(args)\\r\\nmain.py 11 main ], _block=(\\\"main\\\", 1, \\\"调用流程\\\"))\\r\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\r\\nprogram.py 543 run_send_message_by_list result, msg = im_chat_page.send_message()\\r\\nprogram.py 886 send_message self.ac.find(X.ImSendImage).upload([image_path])\\r\\ntool.py 143 find elem = self._find(selector, timeout=timeout, load_timeout=load_timeout, throw=throw)\\r\\ntool.py 137 _find raise Exception(\\\"未找到 XPath.{} {}\\\".format(selector.name, selector.value))\\\n",
"解析失败: {\n",
" \"ErrorSourceCode\": \" raise Exception(\\\"未找到 XPath.{} {}\\\".format(selector.name, selector.value))\",\n",
" \"Code\": 0,\n",
" \"ErrorMessage\": \"Exception: 未找到 XPath.ImSendImage //*[@id=\\\"im_sdk_ui_sdk_chat_input\\\"]//*[contains(@class, \\\"file_image\\\")]\",\n",
" \"StackTrace\": \"tool.py 109 _find raise Exception(\\\"未找到元素\\\")\\r\\nrunpy.py 193 _run_module_as_main \\\"__main__\\\", mod_spec)\\r\\nrunpy.py 85 _run_code exec(code, run_globals)\\r\\nxbot_interpreter.py 122 <module> main()\\r\\nxbot_interpreter.py 56 main mod.main(args)\\r\\nmain.py 11 main ], _block=(\\\"main\\\", 1, \\\"调用流程\\\"))\\r\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\r\\nprogram.py 543 run_send_message_by_list result, msg = im_chat_page.send_message()\\r\\nprogram.py 886 send_message self.ac.find(X.ImSendImage).upload([image_path])\\r\\ntool.py 143 find elem = self._find(selector, timeout=timeout, load_timeout=load_timeout, throw=throw)\\r\\ntool.py 137 _find raise Exception(\\\"未找到 XPath.{} {}\\\".format(selector.name, selector.value))\\\n",
"解析失败: {\n",
" \"ErrorSourceCode\": \" raise Exception(\\\"未找到 XPath.{} {}\\\".format(selector.name, selector.value))\",\n",
" \"Code\": 0,\n",
" \"ErrorMessage\": \"Exception: 未找到 XPath.ImSendImage //*[@id=\\\"im_sdk_ui_sdk_chat_input\\\"]//*[contains(@class, \\\"file_image\\\")]\",\n",
" \"StackTrace\": \"tool.py 109 _find raise Exception(\\\"未找到元素\\\")\\r\\nrunpy.py 193 _run_module_as_main \\\"__main__\\\", mod_spec)\\r\\nrunpy.py 85 _run_code exec(code, run_globals)\\r\\nxbot_interpreter.py 122 <module> main()\\r\\nxbot_interpreter.py 56 main mod.main(args)\\r\\nmain.py 11 main ], _block=(\\\"main\\\", 1, \\\"调用流程\\\"))\\r\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\r\\nprogram.py 543 run_send_message_by_list result, msg = im_chat_page.send_message()\\r\\nprogram.py 886 send_message self.ac.find(X.ImSendImage).upload([image_path])\\r\\ntool.py 143 find elem = self._find(selector, timeout=timeout, load_timeout=load_timeout, throw=throw)\\r\\ntool.py 137 _find raise Exception(\\\"未找到 XPath.{} {}\\\".format(selector.name, selector.value))\\\n",
"解析失败: {\n",
" \"ErrorSourceCode\": \" raise Exception(\\\"未找到 XPath.{} {}\\\".format(selector.name, selector.value))\",\n",
" \"Code\": 0,\n",
" \"ErrorMessage\": \"Exception: 未找到 XPath.TargetCollaboration //*[@class=\\\"m4b-breadcrumb-item-str\\\" and text()=\\\"Target collaboration\\\"]\",\n",
" \"StackTrace\": \"tool.py 109 _find raise Exception(\\\"未找到元素\\\")\\r\\nrunpy.py 193 _run_module_as_main \\\"__main__\\\", mod_spec)\\r\\nrunpy.py 85 _run_code exec(code, run_globals)\\r\\nxbot_interpreter.py 122 <module> main()\\r\\nxbot_interpreter.py 56 main mod.main(args)\\r\\nmain.py 11 main ], _block=(\\\"main\\\", 1, \\\"调用流程\\\"))\\r\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\r\\nprogram.py 377 run_targeted_invitation target_page.init_target_page(is_init)\\r\\nprogram.py 986 init_target_page self.ac.click(X.TargetCollaboration).try_click(X.ViewInvitations)\\r\\ntool.py 179 click elem = self.find(x, timeout=timeout)\\r\\ntool.py 143 find elem = self._find(selector, timeout=timeout, load_timeout=load_timeout, throw=throw)\\r\\ntool.py 137 \n",
"解析失败: {\n",
" \"ErrorSourceCode\": \" raise Exception(\\\"未找到 XPath.{} {}\\\".format(selector.name, selector.value))\",\n",
" \"Code\": 0,\n",
" \"ErrorMessage\": \"Exception: 未找到 XPath.ImSendImage //*[@id=\\\"im_sdk_ui_sdk_chat_input\\\"]//*[contains(@class, \\\"file_image\\\")]\",\n",
" \"StackTrace\": \"program.py 1141 main raise ToolTipError(\\\"未选择运行模式,请选择\\\")\\r\\ntool.py 109 _find raise Exception(\\\"未找到元素\\\")\\r\\nrunpy.py 193 _run_module_as_main \\\"__main__\\\", mod_spec)\\r\\nrunpy.py 85 _run_code exec(code, run_globals)\\r\\nxbot_interpreter.py 122 <module> main()\\r\\nxbot_interpreter.py 56 main mod.main(args)\\r\\nmain.py 11 main ], _block=(\\\"main\\\", 1, \\\"调用流程\\\"))\\r\\nprogram.py 1170 main main({}) \\r\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\r\\nprogram.py 485 run_send_message result, msg = im_chat_page.send_message()\\r\\nprogram.py 886 send_message self.ac.find(X.ImSendImage).upload([image_path])\\r\\ntool.py 143 find elem = self._find(selector, timeout=timeout, load_timeout=load_timeout, throw=throw)\\r\\ntool.p\n",
"解析失败: {\n",
" \"ErrorSourceCode\": \" raise Exception(\\\"未找到 XPath.{} {}\\\".format(selector.name, selector.value))\",\n",
" \"Code\": 0,\n",
" \"ErrorMessage\": \"Exception: 未找到 XPath.TargetCollaboration //*[@class=\\\"m4b-breadcrumb-item-str\\\" and text()=\\\"Target collaboration\\\"]\",\n",
" \"StackTrace\": \"tool.py 109 _find raise Exception(\\\"未找到元素\\\")\\r\\nrunpy.py 193 _run_module_as_main \\\"__main__\\\", mod_spec)\\r\\nrunpy.py 85 _run_code exec(code, run_globals)\\r\\nxbot_interpreter.py 122 <module> main()\\r\\nxbot_interpreter.py 56 main mod.main(args)\\r\\nmain.py 11 main ], _block=(\\\"main\\\", 1, \\\"调用流程\\\"))\\r\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\r\\nprogram.py 377 run_targeted_invitation target_page.init_target_page(is_init)\\r\\nprogram.py 986 init_target_page self.ac.click(X.TargetCollaboration).try_click(X.ViewInvitations)\\r\\ntool.py 179 click elem = self.find(x, timeout=timeout)\\r\\ntool.py 143 find elem = self._find(selector, timeout=timeout, load_timeout=load_timeout, throw=throw)\\r\\ntool.py 137 \n",
"解析失败: {\n",
" \"ErrorSourceCode\": \" if time.time() - start_load_timeout > load_timeout or self._owner.is_load_completed():\",\n",
" \"Code\": 1,\n",
" \"ErrorMessage\": \"Message:网页加载失败,请取消勾选等待页面加载完成\",\n",
" \"StackTrace\": \"tool.py 105 _find result = self.parent.find_all_by_xpath(selector.value, timeout=0.5)\\r\\nrunpy.py 193 _run_module_as_main \\\"__main__\\\", mod_spec)\\r\\nrunpy.py 85 _run_code exec(code, run_globals)\\r\\nxbot_interpreter.py 122 <module> main()\\r\\nxbot_interpreter.py 56 main mod.main(args)\\r\\nmain.py 11 main ], _block=(\\\"main\\\", 1, \\\"调用流程\\\"))\\r\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\r\\nprogram.py 372 run_targeted_invitation if skip_by != \\\"不跳过\\\" and im_chat_page.is_skip(creator_cid):\\r\\nprogram.py 799 is_skip self.to_send_message_page(creator_cid)\\r\\nprogram.py 816 to_send_message_page if not self.ac.find(X.ImLastMessage, timeout=50, throw=False):\\r\\ntool.py 143 find elem = self._find(selector, timeout=timeout, load_timeout=load_timeout, throw=throw)\\r\\ntool.py 121 _find if\n",
"解析失败: {\n",
" \"ErrorSourceCode\": \" raise Exception(\\\"未找到 XPath.{} {}\\\".format(selector.name, selector.value))\",\n",
" \"Code\": 0,\n",
" \"ErrorMessage\": \"Exception: 未找到 XPath.ImSendImage //*[@id=\\\"im_sdk_ui_sdk_chat_input\\\"]//*[contains(@class, \\\"file_image\\\")]\",\n",
" \"StackTrace\": \"tool.py 109 _find raise Exception(\\\"未找到元素\\\")\\r\\nrunpy.py 193 _run_module_as_main \\\"__main__\\\", mod_spec)\\r\\nrunpy.py 85 _run_code exec(code, run_globals)\\r\\nxbot_interpreter.py 122 <module> main()\\r\\nxbot_interpreter.py 56 main mod.main(args)\\r\\nmain.py 11 main ], _block=(\\\"main\\\", 1, \\\"调用流程\\\"))\\r\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\r\\nprogram.py 543 run_send_message_by_list result, msg = im_chat_page.send_message()\\r\\nprogram.py 886 send_message self.ac.find(X.ImSendImage).upload([image_path])\\r\\ntool.py 143 find elem = self._find(selector, timeout=timeout, load_timeout=load_timeout, throw=throw)\\r\\ntool.py 137 _find raise Exception(\\\"未找到 XPath.{} {}\\\".format(selector.name, selector.value))\\\n",
"解析失败: {\n",
" \"ErrorSourceCode\": \" raise Exception(\\\"未找到 XPath.{} {}\\\".format(selector.name, selector.value))\",\n",
" \"Code\": 0,\n",
" \"ErrorMessage\": \"Exception: 未找到 XPath.ImSendImage //*[@id=\\\"im_sdk_ui_sdk_chat_input\\\"]//*[contains(@class, \\\"file_image\\\")]\",\n",
" \"StackTrace\": \"tool.py 109 _find raise Exception(\\\"未找到元素\\\")\\r\\nrunpy.py 193 _run_module_as_main \\\"__main__\\\", mod_spec)\\r\\nrunpy.py 85 _run_code exec(code, run_globals)\\r\\nxbot_interpreter.py 122 <module> main()\\r\\nxbot_interpreter.py 56 main mod.main(args)\\r\\nmain.py 11 main ], _block=(\\\"main\\\", 1, \\\"调用流程\\\"))\\r\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\r\\nprogram.py 543 run_send_message_by_list result, msg = im_chat_page.send_message()\\r\\nprogram.py 886 send_message self.ac.find(X.ImSendImage).upload([image_path])\\r\\ntool.py 143 find elem = self._find(selector, timeout=timeout, load_timeout=load_timeout, throw=throw)\\r\\ntool.py 137 _find raise Exception(\\\"未找到 XPath.{} {}\\\".format(selector.name, selector.value))\\\n",
"解析失败: {\n",
" \"ErrorSourceCode\": \" raise Exception(\\\"未找到 XPath.{} {}\\\".format(selector.name, selector.value))\",\n",
" \"Code\": 0,\n",
" \"ErrorMessage\": \"Exception: 未找到 XPath.ImLastMessage (//*[@id=\\\"im_sdk_ui_sdk_message_box\\\"]//*[@class=\\\"chatd-scrollView-content\\\"]|//*[@class=\\\"chatd-scrollView-content\\\"])[1]\",\n",
" \"StackTrace\": \"tool.py 109 _find raise Exception(\\\"未找到元素\\\")\\r\\nrunpy.py 193 _run_module_as_main \\\"__main__\\\", mod_spec)\\r\\nrunpy.py 85 _run_code exec(code, run_globals)\\r\\nxbot_interpreter.py 122 <module> main()\\r\\nxbot_interpreter.py 56 main mod.main(args)\\r\\nmain.py 11 main ], _block=(\\\"main\\\", 1, \\\"调用流程\\\"))\\r\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\r\\nprogram.py 542 run_send_message_by_list im_chat_page.to_send_message_page(creator_cid)\\r\\nprogram.py 820 to_send_message_page self.ac.find(X.ImLastMessage, timeout=100)\\r\\ntool.py 143 find elem = self._find(selector, timeout=timeout, load_timeout=load_timeout, throw=throw)\\r\\ntool.py 137 _find raise Exception(\\\"\n",
"解析失败: {\n",
" \"ErrorSourceCode\": \" raise Exception(\\\"未找到 XPath.{} {}\\\".format(selector.name, selector.value))\",\n",
" \"Code\": 0,\n",
" \"ErrorMessage\": \"Exception: 未找到 XPath.FilterLabelL3 //li[normalize-space(.)=\\\"Followers\\\" or normalize-space(.)=\\\"Followers\\\"]/div\",\n",
" \"StackTrace\": \"program.py 1113 is_earlier_than_today input_day = datetime.datetime.strptime(day_str, _format)\\r\\n_strptime.py 577 _strptime_datetime tt, fraction, gmtoff_fraction = _strptime(data_string, format)\\r\\n_strptime.py 359 _strptime (data_string, format))\\r\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\r\\nprogram.py 339 run_targeted_invitation is_earlier_than_today(valid_until)\\r\\nprogram.py 1117 is_earlier_than_today raise ToolTipError(\\\"日期解析失败, 请按照 %Y-%m-%d 格式输入日期\\\")\\r\\ntool.py 109 _find raise Exception(\\\"未找到元素\\\")\\r\\nrunpy.py 193 _run_module_as_main \\\"__main__\\\", mod_spec)\\r\\nrunpy.py 85 _run_code exec(code, run_globals)\\r\\nxbot_interpreter.py 122 <module> main()\\r\\nxbot_interpreter.py 56 main mod.main\n",
"解析失败: {\n",
" \"ErrorSourceCode\": \" raise Exception(\\\"XPath.{} {} - {}\\\".format(selector.name, selector.value, str(e).replace(\\\"\\\\n\\\", \\\"\\\")))\",\n",
" \"Code\": 0,\n",
" \"ErrorMessage\": \"网页已被关闭,无法继续操作\",\n",
" \"StackTrace\": \"program.py 1163 main tk = TikTokHandler(user_config)\\r\\nprogram.py 52 __init__ self.domain = self.get_do_main()\\r\\nprogram.py 65 get_do_main raise ToolTipError(\\\"请先进入tiktok首页\\\")\\r\\ntool.py 105 _find result = self.parent.find_all_by_xpath(selector.value, timeout=0.5)\\r\\nxbot_interpreter.py 60 main mod.main(args)\\r\\nmain.py 11 main ], _block=(\\\"main\\\", 1, \\\"调用流程\\\"))\\r\\nprogram.py 1170 main main({})\\r\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\r\\nprogram.py 466 run_send_message im_page = self.get_im_chat_page(find_page)\\r\\nprogram.py 103 get_im_chat_page ac.find(X.ImChatList)\\r\\ntool.py 143 find elem = self._find(selector, timeout=timeout, load_timeout=load_timeout, throw=throw)\\r\\ntool.py 118 _find raise Exception(\\\"XPath.{} {} - {}\\\".format(selector.name, selector.\n",
"解析失败: {\n",
" \"ErrorSourceCode\": \" raise Exception(\\\"未找到 XPath.{} {}\\\".format(selector.name, selector.value))\",\n",
" \"Code\": 0,\n",
" \"ErrorMessage\": \"Exception: 未找到 XPath.FilterLabelL3 //li[normalize-space(.)=\\\"GMV\\\" or normalize-space(.)=\\\"Gmv\\\"]/div\",\n",
" \"StackTrace\": \"tool.py 109 _find raise Exception(\\\"未找到元素\\\")\\r\\nrunpy.py 193 _run_module_as_main \\\"__main__\\\", mod_spec)\\r\\nrunpy.py 85 _run_code exec(code, run_globals)\\r\\nxbot_interpreter.py 122 <module> main()\\r\\nxbot_interpreter.py 56 main mod.main(args)\\r\\nmain.py 11 main ], _block=(\\\"main\\\", 1, \\\"调用流程\\\"))\\r\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\r\\nprogram.py 464 run_send_message url, headers, request_body = fc_page.get_request_args()\\r\\nprogram.py 686 get_request_args self.filter_by()\\r\\nprogram.py 599 filter_by self.ac.click(X.ListBox).click(X.f(X.FilterLabelL3, [sort_by, sort_by.title()]))\\r\\ntool.py 179 click elem = self.find(x, timeout=timeout)\\r\\ntool.py 143 find elem = self._find(selector, timeout=timeout,\n",
"解析失败: {\n",
" \"ErrorSourceCode\": \" raise Exception(\\\"未找到 XPath.{} {}\\\".format(selector.name, selector.value))\",\n",
" \"Code\": 0,\n",
" \"ErrorMessage\": \"Exception: 未找到 XPath.ImLastMessage (//*[@id=\\\"im_sdk_ui_sdk_message_box\\\"]//*[@class=\\\"chatd-scrollView-content\\\"]|//*[@class=\\\"chatd-scrollView-content\\\"])[1]\",\n",
" \"StackTrace\": \"tool.py 109 _find raise Exception(\\\"未找到元素\\\")\\r\\nrunpy.py 193 _run_module_as_main \\\"__main__\\\", mod_spec)\\r\\nrunpy.py 85 _run_code exec(code, run_globals)\\r\\nxbot_interpreter.py 122 <module> main()\\r\\nxbot_interpreter.py 56 main mod.main(args)\\r\\nmain.py 11 main ], _block=(\\\"main\\\", 1, \\\"调用流程\\\"))\\r\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\r\\nprogram.py 372 run_targeted_invitation if skip_by != \\\"不跳过\\\" and im_chat_page.is_skip(creator_cid):\\r\\nprogram.py 799 is_skip self.to_send_message_page(creator_cid)\\r\\nprogram.py 820 to_send_message_page self.ac.find(X.ImLastMessage, timeout=100)\\r\\ntool.py 143 find elem = self._find(selector, timeout=timeout, l\n",
"解析失败: {\n",
" \"ErrorSourceCode\": \" raise Exception(\\\"未找到 XPath.{} {}\\\".format(selector.name, selector.value))\",\n",
" \"Code\": 0,\n",
" \"ErrorMessage\": \"Exception: 未找到 XPath.ImLastMessage (//*[@id=\\\"im_sdk_ui_sdk_message_box\\\"]//*[@class=\\\"chatd-scrollView-content\\\"]|//*[@class=\\\"chatd-scrollView-content\\\"])[1]\",\n",
" \"StackTrace\": \"tool.py 109 _find raise Exception(\\\"未找到元素\\\")\\r\\nrunpy.py 193 _run_module_as_main \\\"__main__\\\", mod_spec)\\r\\nrunpy.py 85 _run_code exec(code, run_globals)\\r\\nxbot_interpreter.py 122 <module> main()\\r\\nxbot_interpreter.py 56 main mod.main(args)\\r\\nmain.py 11 main ], _block=(\\\"main\\\", 1, \\\"调用流程\\\"))\\r\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\r\\nprogram.py 443 run_crawl_creator_info if skip_by != \\\"不跳过\\\" and im_chat_page.is_skip(creator_cid):\\r\\nprogram.py 799 is_skip self.to_send_message_page(creator_cid)\\r\\nprogram.py 820 to_send_message_page self.ac.find(X.ImLastMessage, timeout=100)\\r\\ntool.py 143 find elem = self._find(selector, timeout=timeout, lo\n",
"解析失败: {\n",
" \"ErrorSourceCode\": \" raise Exception(\\\"XPath.{} {} - {}\\\".format(selector.name, selector.value, str(e).replace(\\\"\\\\n\\\", \\\"\\\")))\",\n",
" \"Code\": 0,\n",
" \"ErrorMessage\": \"Exception: XPath.Im5MessagesBefore //*[@id=\\\"im_sdk_ui_sdk_message_box\\\"]/*[contains(text(), \\\"You can send up to 5 messages before\\\")]|//*[.=\\\"the creator responds\\\"] - Message:影刀与Google Chrome 浏览器连接已断开,请尝试重启浏览器或重启插件Code:11,StackTrace: at ShadowBot.UIAutomation.Provider.UIAutomation.Web.ChromiumConnection.Execute(String method, Object args) in D:\\\\Work\\\\xbot-v5-uia\\\\src\\\\ShadowBot.UIAutomation.Provider\\\\UIAutomation\\\\Web\\\\ChromiumConnection.cs:line 87\\r at ShadowBot.UIAutomation.Provider.UIAutomation.Web.ChromiumConnection.Execute[T](String method, Object args) in D:\\\\Work\\\\xbot-v5-uia\\\\src\\\\ShadowBot.UIAutomation.Provider\\\\UIAutomation\\\\Web\\\\ChromiumConnection.cs:line 42\\r at ShadowBot.UIAutomation.Provider.UIAutomation.Web.ChromiumBrowserBase.QueryXPathSelectorAll(String xpathSelector) in D:\\\\Work\\\\xbot-v5\n",
"解析失败: {\n",
" \"ErrorSourceCode\": \" raise Exception(\\\"未找到 XPath.{} {}\\\".format(selector.name, selector.value))\",\n",
" \"Code\": 0,\n",
" \"ErrorMessage\": \"Exception: 未找到 XPath.ImLastMessage (//*[@id=\\\"im_sdk_ui_sdk_message_box\\\"]//*[@class=\\\"chatd-scrollView-content\\\"]|//*[@class=\\\"chatd-scrollView-content\\\"])[1]\",\n",
" \"StackTrace\": \"tool.py 109 _find raise Exception(\\\"未找到元素\\\")\\r\\nrunpy.py 193 _run_module_as_main \\\"__main__\\\", mod_spec)\\r\\nrunpy.py 85 _run_code exec(code, run_globals)\\r\\nxbot_interpreter.py 122 <module> main()\\r\\nxbot_interpreter.py 56 main mod.main(args)\\r\\nmain.py 11 main ], _block=(\\\"main\\\", 1, \\\"调用流程\\\"))\\r\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\r\\nprogram.py 542 run_send_message_by_list im_chat_page.to_send_message_page(creator_cid)\\r\\nprogram.py 820 to_send_message_page self.ac.find(X.ImLastMessage, timeout=100)\\r\\ntool.py 143 find elem = self._find(selector, timeout=timeout, load_timeout=load_timeout, throw=throw)\\r\\ntool.py 137 _find raise Exception(\\\"\n",
"解析失败: {\n",
" \"ErrorSourceCode\": \" if time.time() - start_load_timeout > load_timeout or self._owner.is_load_completed():\",\n",
" \"Code\": 1,\n",
" \"ErrorMessage\": \"Message:获取tab失败, {0}\",\n",
" \"StackTrace\": \"program.py 1141 main raise ToolTipError(\\\"未选择运行模式,请选择\\\")\\r\\ntool.py 109 _find raise Exception(\\\"未找到元素\\\")\\r\\nrunpy.py 193 _run_module_as_main \\\"__main__\\\", mod_spec)\\r\\nrunpy.py 85 _run_code exec(code, run_globals)\\r\\nxbot_interpreter.py 122 <module> main()\\r\\nxbot_interpreter.py 56 main mod.main(args)\\r\\nmain.py 11 main ], _block=(\\\"main\\\", 1, \\\"调用流程\\\"))\\r\\nprogram.py 1170 main main({}) \\r\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\r\\nprogram.py 424 run_crawl_creator_info find_page = self.get_find_page(start_monitor=True)\\r\\nprogram.py 84 get_find_page ac.find(X.FindSortBy, timeout=100)\\r\\ntool.py 143 find elem = self._find(selector, timeout=timeout, load_timeout=load_timeout, throw=throw)\\r\\ntool.py 121 _find if time.time() - start_load_timeout > load_timeout or self._owner.\n"
]
}
],
"source": [
"import json\n",
"import re\n",
"\n",
"error_summary = []\n",
"\n",
"\n",
"def fix_json(remark):\n",
" # 替换单引号为双引号\n",
" remark = remark.replace(\"'\", '\"')\n",
" # 移除多余的逗号\n",
" remark = re.sub(r\",\\s*}\", \"}\", remark)\n",
" remark = re.sub(r\",\\s*]\", \"]\", remark)\n",
" return remark\n",
"\n",
"\n",
"for remark in df[\"remark\"]:\n",
" try:\n",
" json_remark = json.loads(remark)\n",
" except json.JSONDecodeError:\n",
" # 修复 JSON 字符串后再尝试解析\n",
" fixed_remark = fix_json(remark)\n",
" try:\n",
" json_remark = json.loads(fixed_remark)\n",
" except json.JSONDecodeError:\n",
" print(f\"解析失败: {remark}\")\n",
" json_remark = None\n",
" error_summary.append(json_remark)"
]
},
{
"cell_type": "code",
"execution_count": 14,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"\"\\\"\\\\\\\"null\\\\\\\"\\\"\" 35\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" web_page = xbot.web.get(mode=self.mode, url=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"*/seller/im?*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", use_wildcard=True, load_timeout=0, silent_running=False)\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 108, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Message:获取网页失败\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"runpy.py 193 _run_module_as_main \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"__main__\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", mod_spec)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nrunpy.py 85 _run_code exec(code, run_globals)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 122 <module> main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 56 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 513 run_send_message_by_list im_page = self.get_im_chat_page(find_page)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 101 get_im_chat_page web_page = xbot.web.get(mode=self.mode, url=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"*/seller/im?*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", use_wildcard=True, load_timeout=0, silent_running=False)\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 1\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到 XPath.{} {}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\".format(selector.name, selector.value))\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 0, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Exception: 未找到 XPath.ImChatList //*[@id=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"im_sdk_ui_sdk_contact_list\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"]\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"tool.py 109 _find raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到元素\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nrunpy.py 193 _run_module_as_main \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"__main__\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", mod_spec)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nrunpy.py 85 _run_code exec(code, run_globals)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 122 <module> main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 56 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 513 run_send_message_by_list im_page = self.get_im_chat_page(find_page)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 103 get_im_chat_page ac.find(X.ImChatList)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\ntool.py 143 find elem = self._find(selector, timeout=timeout, load_timeout=load_timeout, throw=throw)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\ntool.py 137 _find raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到 XPath.{} {}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\".format(selector.name, selector.value))\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 4\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" raise Exception(e)\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 0, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Exception: 检测到验证码, 请手动处理验证码后继续运行\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"program.py 173 get_creator_info self._captcha(ac)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 133 _captcha raise ToolTipError(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"检测到验证码, 请手动处理验证码后继续运行\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nrunpy.py 193 _run_module_as_main \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"__main__\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", mod_spec)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nrunpy.py 85 _run_code exec(code, run_globals)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 122 <module> main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 56 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 472 run_send_message creator_info = self.get_creator_info(fc_page.ac, creator_cid)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 281 get_creator_info raise Exception(e)\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 13\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到 XPath.{} {}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\".format(selector.name, selector.value))\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 0, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Exception: 未找到 XPath.ImChatList //*[@id=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"im_sdk_ui_sdk_contact_list\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"]\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"tool.py 109 _find raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到元素\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nrunpy.py 193 _run_module_as_main \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"__main__\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", mod_spec)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nrunpy.py 85 _run_code exec(code, run_globals)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 122 <module> main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 56 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 466 run_send_message im_page = self.get_im_chat_page(find_page)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 103 get_im_chat_page ac.find(X.ImChatList)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\ntool.py 143 find elem = self._find(selector, timeout=timeout, load_timeout=load_timeout, throw=throw)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\ntool.py 137 _find raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到 XPath.{} {}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\".format(selector.name, selector.value))\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 6\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" raise Exception('进入达人详情页失败')\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 0, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Exception: 进入达人详情页失败\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"runpy.py 193 _run_module_as_main \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"__main__\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", mod_spec)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nrunpy.py 85 _run_code exec(code, run_globals)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 122 <module> main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 56 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 472 run_send_message creator_info = self.get_creator_info(fc_page.ac, creator_cid)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 180 get_creator_info raise Exception('进入达人详情页失败')\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 1\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" web_page = xbot.web.get_active(mode=self.mode, load_timeout=20, silent_running=False)\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 1, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Message:网页加载失败,请取消勾选等待页面加载完成\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"runpy.py 193 _run_module_as_main \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"__main__\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", mod_spec)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nrunpy.py 85 _run_code exec(code, run_globals)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 122 <module> main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 56 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1163 main tk = TikTokHandler(user_config)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 52 __init__ self.domain = self.get_do_main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 56 get_do_main web_page = xbot.web.get_active(mode=self.mode, load_timeout=20, silent_running=False)\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 1\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" web_page = xbot.web.get_active(mode=self.mode, load_timeout=20, silent_running=False)\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 1, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Message:获取SunBrowser浏览器配置失败,请尝试在影刀中重新为该浏览器安装插件\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"program.py 1141 main raise ToolTipError(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未选择运行模式,请选择\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nrunpy.py 193 _run_module_as_main \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"__main__\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", mod_spec)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nrunpy.py 85 _run_code exec(code, run_globals)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 122 <module> main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 56 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1170 main main({}) \\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1163 main tk = TikTokHandler(user_config)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 52 __init__ self.domain = self.get_do_main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 56 get_do_main web_page = xbot.web.get_active(mode=self.mode, load_timeout=20, silent_running=False)\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 1\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到 XPath.{} {}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\".format(selector.name, selector.value))\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 0, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Exception: 未找到 XPath.CommissionRate (//*[@role=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"spinbutton\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"])[2]\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"tool.py 109 _find raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到元素\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 60 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 378 run_targeted_invitation target_page.choose_products(products, rates)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1042 choose_products self.ac.input(X.f(X.CommissionRate, index + 1), commission_rate)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\ntool.py 226 input ele = self.find(x, timeout=timeout)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\ntool.py 143 find elem = self._find(selector, timeout=timeout, load_timeout=load_timeout, throw=throw)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\ntool.py 137 _find raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到 XPath.{} {}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\".format(selector.name, selector.value))\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 1\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到 XPath.{} {}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\".format(selector.name, selector.value))\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 0, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Exception: 未找到 XPath.ImSendImage //*[@id=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"im_sdk_ui_sdk_chat_input\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"]//*[contains(@class, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"file_image\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")]\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"tool.py 109 _find raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到元素\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 60 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 485 run_send_message result, msg = im_chat_page.send_message()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 886 send_message self.ac.find(X.ImSendImage).upload([image_path])\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\ntool.py 143 find elem = self._find(selector, timeout=timeout, load_timeout=load_timeout, throw=throw)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\ntool.py 137 _find raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到 XPath.{} {}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\".format(selector.name, selector.value))\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 3\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到 XPath.{} {}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\".format(selector.name, selector.value))\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 0, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Exception: 未找到 XPath.FindSortBy //*[text()=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Sort by\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"]\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"tool.py 109 _find raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到元素\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 60 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 461 run_send_message find_page = self.get_find_page(start_monitor=True)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 84 get_find_page ac.find(X.FindSortBy, timeout=100)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\ntool.py 143 find elem = self._find(selector, timeout=timeout, load_timeout=load_timeout, throw=throw)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\ntool.py 137 _find raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到 XPath.{} {}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\".format(selector.name, selector.value))\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 1\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" web_page = xbot.web.get_active(mode=self.mode, load_timeout=20, silent_running=False)\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": -2, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Message:未找到已启动的 superbrowser\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"runpy.py 193 _run_module_as_main \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"__main__\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", mod_spec)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nrunpy.py 85 _run_code exec(code, run_globals)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 122 <module> main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 56 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1163 main tk = TikTokHandler(user_config)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 52 __init__ self.domain = self.get_do_main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 56 get_do_main web_page = xbot.web.get_active(mode=self.mode, load_timeout=20, silent_running=False)\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 1\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" if len(responses) == 0: raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"获取达人信息失败,未获取到响应值\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 0, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Exception: 获取达人信息失败,未获取到响应值\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"runpy.py 193 _run_module_as_main \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"__main__\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", mod_spec)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nrunpy.py 85 _run_code exec(code, run_globals)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 122 <module> main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 56 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 533 run_send_message_by_list url, headers, request_body = fc_page.get_request_args(is_filter=False)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 694 get_request_args if len(responses) == 0: raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"获取达人信息失败,未获取到响应值\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 7\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" web_page = xbot.web.get_active(mode=self.mode, load_timeout=20, silent_running=False)\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 1, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Message:获取superbrowser浏览器配置失败,请尝试在影刀中重新为该浏览器安装插件\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"runpy.py 193 _run_module_as_main \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"__main__\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", mod_spec)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nrunpy.py 85 _run_code exec(code, run_globals)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 122 <module> main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 56 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1163 main tk = TikTokHandler(user_config)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 52 __init__ self.domain = self.get_do_main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 56 get_do_main web_page = xbot.web.get_active(mode=self.mode, load_timeout=20, silent_running=False)\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 18\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" web_page = xbot.web.get_active(mode=self.mode, load_timeout=20, silent_running=False)\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 1, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Message:获取superbrowser浏览器配置失败,请尝试在影刀中重新为该浏览器安装插件\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"program.py 1141 main raise ToolTipError(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未选择运行模式,请选择\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1141 main raise ToolTipError(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未选择运行模式,请选择\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nrunpy.py 193 _run_module_as_main \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"__main__\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", mod_spec)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nrunpy.py 85 _run_code exec(code, run_globals)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 122 <module> main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 56 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1170 main main({}) \\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1170 main main({}) \\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1163 main tk = TikTokHandler(user_config)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 52 __init__ self.domain = self.get_do_main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 56 get_do_main web_page = xbot.web.get_active(mode=self.mode, load_timeout=20, silent_running=False)\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 2\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" web_page = xbot.web.get(mode=self.mode, url=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"*/seller/im?*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", use_wildcard=True, load_timeout=0, silent_running=False)\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 108, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Message:获取网页失败\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"runpy.py 193 _run_module_as_main \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"__main__\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", mod_spec)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nrunpy.py 85 _run_code exec(code, run_globals)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 122 <module> main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 56 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 429 run_crawl_creator_info im_page = self.get_im_chat_page(find_page)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 101 get_im_chat_page web_page = xbot.web.get(mode=self.mode, url=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"*/seller/im?*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", use_wildcard=True, load_timeout=0, silent_running=False)\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 1\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到 XPath.{} {}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\".format(selector.name, selector.value))\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 0, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Exception: 未找到 XPath.FindSortBy //*[text()=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Sort by\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"]\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"tool.py 109 _find raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到元素\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nrunpy.py 193 _run_module_as_main \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"__main__\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", mod_spec)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nrunpy.py 85 _run_code exec(code, run_globals)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 122 <module> main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 56 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 424 run_crawl_creator_info find_page = self.get_find_page(start_monitor=True)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 84 get_find_page ac.find(X.FindSortBy, timeout=100)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\ntool.py 143 find elem = self._find(selector, timeout=timeout, load_timeout=load_timeout, throw=throw)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\ntool.py 137 _find raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到 XPath.{} {}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\".format(selector.name, selector.value))\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 1\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" raise Exception(e)\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 0, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Exception: 检测到验证码, 请手动处理验证码后继续运行\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"program.py 173 get_creator_info self._captcha(ac)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 133 _captcha raise ToolTipError(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"检测到验证码, 请手动处理验证码后继续运行\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nrunpy.py 193 _run_module_as_main \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"__main__\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", mod_spec)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nrunpy.py 85 _run_code exec(code, run_globals)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 122 <module> main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 56 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 365 run_targeted_invitation creator_info = self.get_creator_info(fc_page.ac, creator_cid)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 281 get_creator_info raise Exception(e)\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 5\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" if len(responses) == 0: raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"获取达人信息失败,未获取到响应值\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 0, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Exception: 获取达人信息失败,未获取到响应值\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"runpy.py 193 _run_module_as_main \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"__main__\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", mod_spec)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nrunpy.py 85 _run_code exec(code, run_globals)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 122 <module> main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 56 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 344 run_targeted_invitation url, headers, request_body = fc_page.get_request_args()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 694 get_request_args if len(responses) == 0: raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"获取达人信息失败,未获取到响应值\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 1\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到 XPath.{} {}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\".format(selector.name, selector.value))\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 0, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Exception: 未找到 XPath.ImSendImage //*[@id=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"im_sdk_ui_sdk_chat_input\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"]//*[contains(@class, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"file_image\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")]\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"tool.py 109 _find raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到元素\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nrunpy.py 193 _run_module_as_main \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"__main__\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", mod_spec)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nrunpy.py 85 _run_code exec(code, run_globals)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 122 <module> main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 56 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 485 run_send_message result, msg = im_chat_page.send_message()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 886 send_message self.ac.find(X.ImSendImage).upload([image_path])\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\ntool.py 143 find elem = self._find(selector, timeout=timeout, load_timeout=load_timeout, throw=throw)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\ntool.py 137 _find raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到 XPath.{} {}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\".format(selector.name, selector.value))\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 3\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到 XPath.{} {}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\".format(selector.name, selector.value))\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 0, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Exception: 未找到 XPath.FilterLabelL3 //li[normalize-space(.)=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"GMV\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" or normalize-space(.)=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Gmv\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"]/div\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"tool.py 109 _find raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到元素\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 60 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 344 run_targeted_invitation url, headers, request_body = fc_page.get_request_args()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 686 get_request_args self.filter_by()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 599 filter_by self.ac.click(X.ListBox).click(X.f(X.FilterLabelL3, [sort_by, sort_by.title()]))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\ntool.py 179 click elem = self.find(x, timeout=timeout)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\ntool.py 143 find elem = self._find(selector, timeout=timeout, load_timeout=load_timeout, throw=throw)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\ntool.py 137 _find raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到 XPath.{} {}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\".format(selector.name, selector.value))\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 1\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" web_page = xbot.web.get_active(mode=self.mode, load_timeout=20, silent_running=False)\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 11, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Message:检测到Google Chrome浏览器启动了多个影刀插件。影刀插件暂不支持多开,请关闭多余浏览器环境和多余插件后重试\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"xbot_interpreter.py 60 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1163 main tk = TikTokHandler(user_config)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 52 __init__ self.domain = self.get_do_main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 56 get_do_main web_page = xbot.web.get_active(mode=self.mode, load_timeout=20, silent_running=False)\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 1\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" web_page = xbot.web.get_active(mode=self.mode, load_timeout=20, silent_running=False)\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 1, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Message:获取superbrowser浏览器配置失败,请尝试在影刀中重新为该浏览器安装插件\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"xbot_interpreter.py 60 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1163 main tk = TikTokHandler(user_config)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 52 __init__ self.domain = self.get_do_main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 56 get_do_main web_page = xbot.web.get_active(mode=self.mode, load_timeout=20, silent_running=False)\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 4\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" web_page = xbot.web.get_active(mode=self.mode, load_timeout=20, silent_running=False)\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 1, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Message:获取superbrowser浏览器配置失败,请尝试在影刀中重新为该浏览器安装插件\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"program.py 1141 main raise ToolTipError(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未选择运行模式,请选择\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 60 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1170 main main({})\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1163 main tk = TikTokHandler(user_config)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 52 __init__ self.domain = self.get_do_main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 56 get_do_main web_page = xbot.web.get_active(mode=self.mode, load_timeout=20, silent_running=False)\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 2\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" web_page = xbot.web.get_active(mode=self.mode, load_timeout=20, silent_running=False)\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 12, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Message:请在自动化插件安装界面,为 Google Chrome 浏览器安装影刀自动化扩展程序\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"runpy.py 193 _run_module_as_main \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"__main__\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", mod_spec)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nrunpy.py 85 _run_code exec(code, run_globals)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 122 <module> main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 56 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1163 main tk = TikTokHandler(user_config)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 52 __init__ self.domain = self.get_do_main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 56 get_do_main web_page = xbot.web.get_active(mode=self.mode, load_timeout=20, silent_running=False)\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 1\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" web_page = xbot.web.get_active(mode=self.mode, load_timeout=20, silent_running=False)\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 12, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Message:请在自动化插件安装界面,为 Google Chrome 浏览器安装影刀自动化扩展程序\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"program.py 1141 main raise ToolTipError(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未选择运行模式,请选择\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nrunpy.py 193 _run_module_as_main \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"__main__\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", mod_spec)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nrunpy.py 85 _run_code exec(code, run_globals)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 122 <module> main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 56 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1170 main main({}) \\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1163 main tk = TikTokHandler(user_config)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 52 __init__ self.domain = self.get_do_main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 56 get_do_main web_page = xbot.web.get_active(mode=self.mode, load_timeout=20, silent_running=False)\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 1\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" web_page = xbot.web.create(f\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"{self.domain}/connection/creator\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", mode=self.mode,load_timeout=0, silent_running=False)\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 1, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Message:打开网页失败,错误消息: Tabs cannot be edited right now (user may be dragging a tab).\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"runpy.py 193 _run_module_as_main \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"__main__\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", mod_spec)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nrunpy.py 85 _run_code exec(code, run_globals)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 122 <module> main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 56 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 341 run_targeted_invitation find_page = self.get_find_page(start_monitor=True)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 81 get_find_page web_page = xbot.web.create(f\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"{self.domain}/connection/creator\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", mode=self.mode,load_timeout=0, silent_running=False)\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 1\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" web_page = xbot.web.get(mode=self.mode, url=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"*/seller/im?*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", use_wildcard=True, load_timeout=0, silent_running=False)\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 108, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Message:获取网页失败\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"program.py 1163 main tk = TikTokHandler(user_config)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 52 __init__ self.domain = self.get_do_main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 65 get_do_main raise ToolTipError(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"请先进入tiktok首页\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 60 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1170 main main({})\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 466 run_send_message im_page = self.get_im_chat_page(find_page)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 101 get_im_chat_page web_page = xbot.web.get(mode=self.mode, url=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"*/seller/im?*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", use_wildcard=True, load_timeout=0, silent_running=False)\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 1\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" web_page = xbot.web.get(mode=self.mode, url=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"*/seller/im?*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", use_wildcard=True, load_timeout=0, silent_running=False)\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 108, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Message:获取网页失败\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"xbot_interpreter.py 60 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 466 run_send_message im_page = self.get_im_chat_page(find_page)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 101 get_im_chat_page web_page = xbot.web.get(mode=self.mode, url=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"*/seller/im?*\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", use_wildcard=True, load_timeout=0, silent_running=False)\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 1\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到 XPath.{} {}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\".format(selector.name, selector.value))\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 0, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Exception: 未找到 XPath.ImChatList //*[@id=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"im_sdk_ui_sdk_contact_list\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"]\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"tool.py 109 _find raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到元素\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 60 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 466 run_send_message im_page = self.get_im_chat_page(find_page)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 103 get_im_chat_page ac.find(X.ImChatList)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\ntool.py 143 find elem = self._find(selector, timeout=timeout, load_timeout=load_timeout, throw=throw)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\ntool.py 137 _find raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到 XPath.{} {}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\".format(selector.name, selector.value))\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 1\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到 XPath.{} {}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\".format(selector.name, selector.value))\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 0, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Exception: 未找到 XPath.ImChatList //*[@id=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"im_sdk_ui_sdk_contact_list\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"]\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"tool.py 109 _find raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到元素\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 60 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 347 run_targeted_invitation im_page = self.get_im_chat_page(find_page)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 103 get_im_chat_page ac.find(X.ImChatList)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\ntool.py 143 find elem = self._find(selector, timeout=timeout, load_timeout=load_timeout, throw=throw)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\ntool.py 137 _find raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到 XPath.{} {}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\".format(selector.name, selector.value))\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 1\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到 XPath.{} {}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\".format(selector.name, selector.value))\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 0, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Exception: 未找到 XPath.ImChatList //*[@id=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"im_sdk_ui_sdk_contact_list\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"]\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"tool.py 109 _find raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到元素\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 60 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 429 run_crawl_creator_info im_page = self.get_im_chat_page(find_page)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 103 get_im_chat_page ac.find(X.ImChatList)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\ntool.py 143 find elem = self._find(selector, timeout=timeout, load_timeout=load_timeout, throw=throw)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\ntool.py 137 _find raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到 XPath.{} {}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\".format(selector.name, selector.value))\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 1\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": -32768, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"引擎运行失败\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 1\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到 XPath.{} {}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\".format(selector.name, selector.value))\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 0, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Exception: 未找到 XPath.FindSortBy //*[text()=\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"Sort by\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"]\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"tool.py 109 _find raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到元素\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 60 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 510 run_send_message_by_list find_page = self.get_find_page(start_monitor=CreatorIndex != \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"CID\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 84 get_find_page ac.find(X.FindSortBy, timeout=100)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\ntool.py 143 find elem = self._find(selector, timeout=timeout, load_timeout=load_timeout, throw=throw)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\ntool.py 137 _find raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到 XPath.{} {}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\".format(selector.name, selector.value))\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 1\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" raise Exception(data.get(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"msg\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 0, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Exception: 图片未识别成功,请换图重试或联系客服咨询其他识别接口!\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"xbot_interpreter.py 60 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 472 run_send_message creator_info = self.get_creator_info(fc_page.ac, creator_cid)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 173 get_creator_info self._captcha(ac)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 130 _captcha std_slider_captcha(ac.owner, package.selector(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"captcha-verify-image\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"), package.selector(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"secsdk-captcha-drag\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"), retry_count=10)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nstd_slider_captcha.py 128 handle_captcha raise Exception(data.get(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"msg\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 1\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" web_page = xbot.web.get_active(mode=self.mode, load_timeout=20, silent_running=False)\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 100, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Message:获取已打开网页失败,无法找到与浏览器窗口关联的网页。\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"xbot_interpreter.py 60 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1163 main tk = TikTokHandler(user_config)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 52 __init__ self.domain = self.get_do_main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 56 get_do_main web_page = xbot.web.get_active(mode=self.mode, load_timeout=20, silent_running=False)\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 1\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" self.ac.owner.activate()\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 0, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Message:Cannot read properties of undefined (reading 'windowId')\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"xbot_interpreter.py 60 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 479 run_send_message if skip_by != \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"不跳过\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" and im_chat_page.is_skip(creator_cid):\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 799 is_skip self.to_send_message_page(creator_cid)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 809 to_send_message_page self.ac.owner.activate()\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 2\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" web_page = xbot.web.get_active(mode=self.mode, load_timeout=20, silent_running=False)\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 1, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Message:获取superbrowser浏览器配置失败,请尝试在影刀中重新为该浏览器安装插件\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"program.py 1141 main raise ToolTipError(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未选择运行模式,请选择\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nrunpy.py 193 _run_module_as_main \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"__main__\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", mod_spec)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nrunpy.py 85 _run_code exec(code, run_globals)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 122 <module> main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 56 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1170 main main({}) \\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1163 main tk = TikTokHandler(user_config)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 52 __init__ self.domain = self.get_do_main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 56 get_do_main web_page = xbot.web.get_active(mode=self.mode, load_timeout=20, silent_running=False)\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 1\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" web_page = xbot.web.get_active(mode=self.mode, load_timeout=20, silent_running=False)\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 11, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Message:检测到superbrowser浏览器启动了多个影刀插件。影刀插件暂不支持多开,请关闭多余浏览器环境和多余插件后重试\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"runpy.py 193 _run_module_as_main \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"__main__\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", mod_spec)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nrunpy.py 85 _run_code exec(code, run_globals)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 122 <module> main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 56 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1163 main tk = TikTokHandler(user_config)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 52 __init__ self.domain = self.get_do_main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 56 get_do_main web_page = xbot.web.get_active(mode=self.mode, load_timeout=20, silent_running=False)\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 2\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" drag_element = web_page.find(drag_ele)\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 101, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Message:未找到元素, 元素名: secsdk-captcha-drag\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"xbot_interpreter.py 60 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 472 run_send_message creator_info = self.get_creator_info(fc_page.ac, creator_cid)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 173 get_creator_info self._captcha(ac)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 130 _captcha std_slider_captcha(ac.owner, package.selector(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"captcha-verify-image\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"), package.selector(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"secsdk-captcha-drag\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"), retry_count=10)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nstd_slider_captcha.py 99 handle_captcha drag_element = web_page.find(drag_ele)\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 1\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" web_page = xbot.web.get_active(mode=self.mode, load_timeout=20, silent_running=False)\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": -2, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Message:未找到已启动的 superbrowser\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"xbot_interpreter.py 57 main args = params.inputs()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1163 main tk = TikTokHandler(user_config)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 52 __init__ self.domain = self.get_do_main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 56 get_do_main web_page = xbot.web.get_active(mode=self.mode, load_timeout=20, silent_running=False)\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 1\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" web_page = xbot.web.get_active(mode=self.mode, load_timeout=20, silent_running=False)\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": -2, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Message:未找到已启动的 Google Chrome\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"xbot_interpreter.py 60 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1163 main tk = TikTokHandler(user_config)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 52 __init__ self.domain = self.get_do_main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 56 get_do_main web_page = xbot.web.get_active(mode=self.mode, load_timeout=20, silent_running=False)\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 1\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" raise Exception(f\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到商品卡片 {product_id}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 0, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Exception: 未找到商品卡片 1729627076914287362\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"xbot_interpreter.py 60 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 485 run_send_message result, msg = im_chat_page.send_message()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 958 send_message raise Exception(f\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到商品卡片 {product_id}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 1\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" if time.time() - start_load_timeout > load_timeout or self._owner.is_load_completed():\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 1, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Message:executeFunc : runtime error occured. tabId 164620594 frameId 0, error message: Frame with ID 0 was removed.\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"tool.py 109 _find raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到元素\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 60 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 485 run_send_message result, msg = im_chat_page.send_message()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 939 send_message result, _ = self.can_send()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 823 can_send name, elem = self.ac.find_any_one([X.Im5MessagesBefore, X.ImSendMessageInput], timeout=100, throw=False)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\ntool.py 155 find_any_one result = self._find(selector, timeout=0, load_timeout=load_timeout, throw=False)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\ntool.py 121 _find if time.time() - start_load_timeout > load_timeout or self._owner.is_load_completed():\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 1\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" web_page = xbot.web.get_active(mode=self.mode, load_timeout=20, silent_running=False)\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 100, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Message:获取已打开网页失败,无法找到与浏览器窗口关联的网页。\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"xbot_interpreter.py 60 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1164 main tk = TikTokHandler(user_config)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 52 __init__ self.domain = self.get_do_main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 56 get_do_main web_page = xbot.web.get_active(mode=self.mode, load_timeout=20, silent_running=False)\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 1\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到 XPath.{} {}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\".format(selector.name, selector.value))\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 0, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Exception: 未找到 XPath.FilterLabelL3_Contains //li[contains(normalize-space(.), \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"sold\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")]/div\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"tool.py 109 _find raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到元素\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 60 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 344 run_targeted_invitation url, headers, request_body = fc_page.get_request_args()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 686 get_request_args self.filter_by()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 597 filter_by self.ac.click(X.ListBox).click(X.f(X.FilterLabelL3_Contains, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"sold\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\ntool.py 179 click elem = self.find(x, timeout=timeout)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\ntool.py 143 find elem = self._find(selector, timeout=timeout, load_timeout=load_timeout, throw=throw)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\ntool.py 137 _find raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到 XPath.{} {}\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\".format(selector.name, selector.value))\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 1\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" raise Exception(e)\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 0, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Exception: 检测到验证码, 请手动处理验证码后继续运行\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"program.py 173 get_creator_info self._captcha(ac)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 133 _captcha raise ToolTipError(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"检测到验证码, 请手动处理验证码后继续运行\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 60 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 365 run_targeted_invitation creator_info = self.get_creator_info(fc_page.ac, creator_cid)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 281 get_creator_info raise Exception(e)\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 1\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" if time.time() - start_load_timeout > load_timeout or self._owner.is_load_completed():\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 1, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Message:获取tab失败, {0}\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"tool.py 109 _find raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"未找到元素\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nrunpy.py 193 _run_module_as_main \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"__main__\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", mod_spec)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nrunpy.py 85 _run_code exec(code, run_globals)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 122 <module> main()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nxbot_interpreter.py 56 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 424 run_crawl_creator_info find_page = self.get_find_page(start_monitor=True)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 92 get_find_page self.close_ads(ac)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 74 close_ads elems = ac.find_all(X.Ads, timeout=5)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\ntool.py 148 find_all return self._find(selector, timeout=timeout, load_timeout=load_timeout, throw=False, single=False)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\ntool.py 121 _find if time.time() - start_load_timeout > load_timeout or self._owner.is_load_completed():\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 1\n",
"\"\\\"\\\\\\\"{\\\\\\\\\\\\\\\"ErrorSourceCode\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\" if len(responses) == 0: raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"获取达人信息失败,未获取到响应值\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"Code\\\\\\\\\\\\\\\": 0, \\\\\\\\\\\\\\\"ErrorMessage\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"Exception: 获取达人信息失败,未获取到响应值\\\\\\\\\\\\\\\", \\\\\\\\\\\\\\\"StackTrace\\\\\\\\\\\\\\\": \\\\\\\\\\\\\\\"xbot_interpreter.py 60 main mod.main(args)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nmain.py 11 main ], _block=(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"main\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\", 1, \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"调用流程\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"))\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 1164 main getattr(tk, RunMode[run_mode].value)()\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 533 run_send_message_by_list url, headers, request_body = fc_page.get_request_args(is_filter=False)\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\nprogram.py 694 get_request_args if len(responses) == 0: raise Exception(\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"获取达人信息失败,未获取到响应值\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\")\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\"}\\\\\\\"\\\"\" 1\n"
]
}
],
"source": [
"from collections import Counter\n",
"\n",
"error_summary = [json.dumps(x, ensure_ascii=False) for x in error_summary]\n",
"\n",
"# 遍历输出\n",
"for k, v in Counter(error_summary).items():\n",
" print(k, v)"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.12"
}
},
"nbformat": 4,
"nbformat_minor": 2
}