update doc

pull/63/head
butaixianran 2023-03-14 02:44:34 +08:00
parent 601ac81792
commit f65b2651cb
2 changed files with 6 additions and 10 deletions

View File

@ -152,11 +152,11 @@ civitai不是每个图片都有关键词一个模型中也不是所有预
## Civitai API检查
自从上次Civitai网站挂了之后它对连接频率检查就好像变严格了。当它觉得扩展发送的请求频率过高就会把扩展的API请求跳转到Cloudflare的真人验证页面而导致扩展无法获取任何信息。
自从上次Civitai网站挂了之后它对连接频率检查就好像变严格了。当它觉得扩展发送的请求不安全就会把扩展的API请求跳转到Cloudflare的真人验证页面而导致扩展无法获取任何信息。
这种情况只能停止连接civitai并耐心等待Civitai解封。可能要等好几个小时。
从v1.5.1版开始本扩展开始强制TI扫描必须每个连接后延迟1秒以避免请求过快被当作攻击。所以如果你是使用1.5.1或以后的版本,应该没有这个问题。
从v1.5.1版开始本扩展开始强制TI扫描必须每个连接后延迟1秒并且从1.5.4开始扩展给API请求添加了默认header以伪装浏览器。所以如果你是使用1.5.4或以后的版本,应该没有这个问题。
## 新特性

View File

@ -151,11 +151,11 @@ In these cases, you can always link a model to civitai by filling its URL in thi
## Civitai API Security Check
Since last website down of civitai, it has more strict checking for request's frequency. Once it thinks this extension is sending requests to quickly, it gonna re-direct extension's API request to Cloudflare's real human checking page. Then this extension can not get any information back.
Since last website down of civitai, it has more strict checking for request's frequency. Once it thinks this extension's request is not secured, it gonna re-direct extension's API request to Cloudflare's real human checking page. Then this extension can not get any information back.
In that case, you have to wait until civitai unblock you. It could take hours.
Since v1.5.1, TI scanning is forced to delay 1 second to avoid this case. So you should be find if you are using 1.5.1 or later.
Since v1.5.1, TI scanning is forced to delay 1 second to avoid this case. And since 1.5.4, there is a default header in all API request to fake as a browser. So you should be find if you are using 1.5.4 or later.
## Feature Request
@ -170,14 +170,10 @@ Enjoy!
# Change Log
## v1.5.4
* set sys.stdout to utf-8
## v1.5.3
* Add default header for requests to prevent from being blocked by civitai.
* merge other v1.5.x change log to v1.5.4
* When downloading a model by url, check if target model version is already existed in user selected sub-folder.
## v1.5.2
* Support scanning only selected model types.
## v1.5.1
* Force TI scanning delay 1 second to prevent from civitai treating this extension's requests as attacking.
## v1.5.0