Comments (2)
好腻害的ai,不过仔细读了一下,感觉ai的全局联系能力还不太行,有些问题明显是只根据上下文提出来的,略显草率。
但有几点是可以改进下:
插件的入参校验问题,要不要抛异常?
zip插件在删除文件和文件夹时,增加一次判空校验。
from jmcomic-crawler-python.
插件的入参校验,不抛异常主要是为了兼容一种情况:用户配置了插件,但是没有配置核心参数。
就比如,用户配置了插件,插件里用到了一个环境变量,可能过了一段时间这个环境变量不在了。
那么这时插件是选择【空参不执行】好,还是【空参就报错】好?
我打算增加一个异常和配置项,当这个配置项开启时,【空参就报错】,否则使用【空参不执行】。
具体实现思路:由插件专门抛出这个异常,由option catch并根据配置项进行处理或丢弃。
from jmcomic-crawler-python.
Related Issues (20)
- 希望能添加一个download_album_for_pdf函数直接下载pdf文件 HOT 2
- 发现个章节下载的小问题 HOT 1
- 手动调整Action下载包结构 下载完成的本子.zip/书名.zip
- 请问出现了如下状况怎么办啊 HOT 2
- 版本更新问题 HOT 1
- 有证书验证要怎么通过 HOT 1
- 下載多話的漫畫資料夾名稱問題 HOT 2
- 到最后一步下载不了,想请教下大佬 HOT 1
- 最新GitHub Actions 无法下载文件 HOT 7
- 功能需求:过滤重复图片 HOT 6
- 怎么使用jmcomic的搜索api HOT 8
- 你就是人类在漫漫黑夜中的一点星光
- 收藏夹爬取不全 HOT 2
- 下载过滤器使用不了 HOT 1
- 对于多章节漫画只能下载第一章 HOT 8
- 按照作者名搜索,搜索失败 HOT 1
- fork過來的項目可以隱藏嗎 HOT 3
- 请求重试全部失败 HOT 2
- [Help] 下载图片失败 HOT 23
- [Help] 使用插件怎么获取指定本子的页数和上架时间 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jmcomic-crawler-python.