bak
This commit is contained in:
parent
c49757a21a
commit
826e54c378
3
app.py
3
app.py
|
|
@ -4,6 +4,7 @@ from spider.mail_qq import start as start_mail_qq_spider
|
|||
import asyncio
|
||||
import json
|
||||
from typing import Optional
|
||||
import subprocess
|
||||
import logging
|
||||
|
||||
|
||||
|
|
@ -15,7 +16,7 @@ mcp = FastMCP("spider-server")
|
|||
VNC_SERVER_HOST = "https://10.10.40.19:6080"
|
||||
# SHELL_DIR = "/home/dgs/vnc-server"
|
||||
SHELL_DIR = "./bin"
|
||||
@mcp.tool()
|
||||
# @mcp.tool()
|
||||
async def mail_qq_spider(account: str,display: int) -> str:
|
||||
"""qq邮箱爬虫,第一个参数是用户名
|
||||
Args:
|
||||
|
|
|
|||
Loading…
Reference in New Issue