Skip to content

Commit

Permalink
release 0.97
Browse files Browse the repository at this point in the history
  • Loading branch information
zaxtyson committed Sep 8, 2020
1 parent 60af20c commit 9ecabd5
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
7 changes: 3 additions & 4 deletions api/manager.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import requests
from concurrent.futures import ThreadPoolExecutor, as_completed
from importlib import import_module
from inspect import getmembers
from inspect import isclass
from typing import List

import requests

from api.base import AnimeEngine, DanmakuEngine
from api.base import VideoHandler
from api.config import GLOBAL_CONFIG
Expand Down Expand Up @@ -157,7 +156,7 @@ def enable_danmaku(self, danmaku: str) -> bool:
logger.info(f"Danmaku Engine {danmaku} has already loaded")
return True # 已经启用了
self._load_danmaku(danmaku) # 动态加载引擎
return GLOBAL_CONFIG.enable_engine(danmaku) # 更新配置文件
return GLOBAL_CONFIG.enable_danmaku(danmaku) # 更新配置文件

def disable_danmaku(self, danmaku: str) -> bool:
"""禁用某个弹幕搜索引擎, engine: api.danmaku.xxx"""
Expand All @@ -166,4 +165,4 @@ def disable_danmaku(self, danmaku: str) -> bool:
return True # 本来就没启用
self._danmaku_engine.pop(danmaku)
logger.info(f"Disabled Danmaku Engine: {danmaku}")
return GLOBAL_CONFIG.disable_engine(danmaku)
return GLOBAL_CONFIG.disable_danmaku(danmaku)
1 change: 1 addition & 0 deletions web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@
- v0.9.4再次增强了自动匹配,增加了nprogress加载条,选集按钮标题修改,Dplayer出错回调增加节流限制,增加视频底部工具栏,选择弹幕功能暂未完成。
- v0.9.5完成了工具栏的各小按钮功能,选择弹幕功能。优化细节,修复几个bugs
- v0.9.6修复限流造成的切换代理失败及代理时手动选择弹幕卡住的bugs
- v0.9.7增加简单历史记录,更新了HelloWorld页,为Home页卡片增加默认图(手动PS的哦),更改了排序方式,补充了弹幕引擎设置
Binary file added web/img/default-cover.acf82a63.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 7 additions & 7 deletions web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@
<meta http-equiv=X-UA-Compatible content="IE=edge">
<meta name=viewport content="width=device-width,initial-scale=1">
<link rel=icon href=favicon.ico>
<title>AnimeSearcher</title>
<title>vue_lzypress</title>
<link rel=stylesheet href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900">
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css>
<link href=js/about.36f46419.js rel=prefetch>
<link href=js/app.865dddaf.js rel=preload as=script>
<link href=js/chunk-vendors.6c1502dd.js rel=preload as=script>
<link href=js/about.633caa73.js rel=prefetch>
<link href=js/app.6d98b1a5.js rel=preload as=script>
<link href=js/chunk-vendors.cb44e809.js rel=preload as=script>
</head>
<body>
<noscript><strong>We're sorry but AnimeSearcher doesn't work properly without JavaScript enabled. Please enable it to
<noscript><strong>We're sorry but vue_lzypress doesn't work properly without JavaScript enabled. Please enable it to
continue.</strong></noscript>
<div id=app></div>
<script src=js/chunk-vendors.6c1502dd.js></script>
<script src=js/app.865dddaf.js></script>
<script src=js/chunk-vendors.cb44e809.js></script>
<script src=js/app.6d98b1a5.js></script>
</body>
</html>
File renamed without changes.
1 change: 1 addition & 0 deletions web/js/app.6d98b1a5.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion web/js/app.865dddaf.js

This file was deleted.

Large diffs are not rendered by default.

0 comments on commit 9ecabd5

Please sign in to comment.