feat(app): 添加 ASMR 和磁力链接功能模块
- 新增 asmr_bp 蓝图模块和 AsmrService 服务 - 新增 magnet_bp 蓝图模块和 MagnetService 服务 - 在应用初始化时注册新的蓝图模块 - 将 switch 语句替换为 if-elif 语句进行配置管理 - 在前端界面添加 ASMR 功能入口 - 增加 libtorrent 依赖包 - 修复字符串引号使用问题 - 增加文件重命名异常处理 - 扩展类型注解支持 Union 类型 - 增加请求超时时间到 30 秒 - 优化前端错误处理逻辑
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import requests
|
||||
|
||||
class AsmrService:
|
||||
API_URL = "https://www.asmrgay.com/api/fs/list"
|
||||
base_params = {
|
||||
"path": "/asmr/中文音声",
|
||||
"password": "",
|
||||
"per_page": 30,
|
||||
"refresh": False
|
||||
}
|
||||
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
def get_all(self):
|
||||
return [self.API_URL]
|
||||
Reference in New Issue
Block a user