mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2026-05-10 18:57:56 +08:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
6e28ad3502
|
|||
| 40f9bc817f | |||
| f416b249f7 | |||
| ec6fe2679d | |||
| 19b25552d0 | |||
| 85b5ab3868 |
@@ -0,0 +1,61 @@
|
|||||||
|
name: 问题报告
|
||||||
|
description: 我遇到了问题
|
||||||
|
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
id: environment
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
## 环境
|
||||||
|
|
||||||
|
- type: input
|
||||||
|
id: nonebot_bison_version
|
||||||
|
attributes:
|
||||||
|
label: nonebot-bison 版本
|
||||||
|
description: 请填写 nonebot-bison 的版本
|
||||||
|
|
||||||
|
- type: input
|
||||||
|
id: nonebot_version
|
||||||
|
attributes:
|
||||||
|
label: nonebot 版本
|
||||||
|
description: 请填写 nonebot 的版本
|
||||||
|
|
||||||
|
- type: dropdown
|
||||||
|
id: installation_method
|
||||||
|
attributes:
|
||||||
|
label: 安装方式
|
||||||
|
description: 请选择安装方式
|
||||||
|
options:
|
||||||
|
- 通过 nb-cli 安装
|
||||||
|
- 使用 poetry/pdm 等现代包管理器安装
|
||||||
|
- 通过 pip install 安装
|
||||||
|
- 克隆或下载项目直接使用
|
||||||
|
|
||||||
|
- type: input
|
||||||
|
id: operating_system
|
||||||
|
attributes:
|
||||||
|
label: 操作系统
|
||||||
|
description: 请填写操作系统
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: issue_description
|
||||||
|
attributes:
|
||||||
|
label: 问题
|
||||||
|
description: 请在这里描述你遇到的问题
|
||||||
|
|
||||||
|
- type: textarea
|
||||||
|
id: logs
|
||||||
|
attributes:
|
||||||
|
label: 日志
|
||||||
|
description: 请在这里粘贴你的日志
|
||||||
|
render: shell
|
||||||
|
|
||||||
|
- type: checkboxes
|
||||||
|
id: confirmations
|
||||||
|
attributes:
|
||||||
|
label: 确认
|
||||||
|
options:
|
||||||
|
- label: 我搜索过了 issue,但是并没有发现过与我类似的问题
|
||||||
|
required: true
|
||||||
|
- label: 我确认在日志中去掉了敏感信息
|
||||||
|
required: true
|
||||||
@@ -1,31 +0,0 @@
|
|||||||
---
|
|
||||||
name: 问题报告
|
|
||||||
about: 我遇到了问题
|
|
||||||
title: ""
|
|
||||||
labels: ""
|
|
||||||
assignees: ""
|
|
||||||
---
|
|
||||||
|
|
||||||
## 环境
|
|
||||||
|
|
||||||
- nonebot-bison 版本:
|
|
||||||
- nonebot 版本:
|
|
||||||
- 安装方式:(以下方式的一种或者其他方式)
|
|
||||||
1. 通过 nb-cli 安装
|
|
||||||
2. 使用 poetry/pdm 等现代包管理器安装
|
|
||||||
3. 通过 pip install 安装
|
|
||||||
4. 克隆或下载项目直接使用
|
|
||||||
- 操作系统:
|
|
||||||
|
|
||||||
## 问题
|
|
||||||
|
|
||||||
请在这里描述你遇到的问题
|
|
||||||
|
|
||||||
## 日志
|
|
||||||
|
|
||||||
```
|
|
||||||
请在这里粘贴你的日志
|
|
||||||
```
|
|
||||||
|
|
||||||
- [ ] 我搜索过了 issue,但是并没有发现过与我类似的问题
|
|
||||||
- [ ] 我确认在日志中去掉了敏感信息
|
|
||||||
@@ -1,5 +1,11 @@
|
|||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 最近更新
|
||||||
|
|
||||||
|
### 文档
|
||||||
|
|
||||||
|
- 📝 小刻食堂剪彩文档 [@phidiaLam](https://github.com/phidiaLam) ([#636](https://github.com/MountainDash/nonebot-bison/pull/636))
|
||||||
|
|
||||||
## v0.9.4
|
## v0.9.4
|
||||||
|
|
||||||
### Bug 修复
|
### Bug 修复
|
||||||
|
|||||||
+1
-1
@@ -22,7 +22,7 @@ BISON_SKIP_BROWSER_CHECK=false
|
|||||||
BISON_USE_PIC_MERGE=0
|
BISON_USE_PIC_MERGE=0
|
||||||
BISON_RESEND_TIMES=0
|
BISON_RESEND_TIMES=0
|
||||||
BISON_PROXY=
|
BISON_PROXY=
|
||||||
BISON_UA=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36
|
BISON_UA=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 Edg/130.0.0.0
|
||||||
BISON_SHOW_NETWORK_WARNING=true
|
BISON_SHOW_NETWORK_WARNING=true
|
||||||
BISON_PLATFORM_THEME='{}'
|
BISON_PLATFORM_THEME='{}'
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -70,7 +70,7 @@ highlights:
|
|||||||
details: 一个由玩家创造的幻想世界
|
details: 一个由玩家创造的幻想世界
|
||||||
link: https://adsrff.web.sdo.com/web1/
|
link: https://adsrff.web.sdo.com/web1/
|
||||||
|
|
||||||
- title: 小刻食堂 (即将支持)
|
- title: 小刻食堂
|
||||||
details: 实时获取鹰角发的动态
|
details: 实时获取鹰角发的动态
|
||||||
link: https://www.ceobecanteen.top
|
link: https://www.ceobecanteen.top
|
||||||
|
|
||||||
|
|||||||
@@ -36,7 +36,8 @@ class PlugConfig(BaseModel):
|
|||||||
bison_resend_times: int = 0
|
bison_resend_times: int = 0
|
||||||
bison_proxy: str | None = None
|
bison_proxy: str | None = None
|
||||||
bison_ua: str = Field(
|
bison_ua: str = Field(
|
||||||
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36",
|
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)"
|
||||||
|
" Chrome/130.0.0.0 Safari/537.36 Edg/130.0.0.0",
|
||||||
description="默认UA",
|
description="默认UA",
|
||||||
)
|
)
|
||||||
bison_show_network_warning: bool = True
|
bison_show_network_warning: bool = True
|
||||||
|
|||||||
@@ -17,7 +17,8 @@ async def test_http_error(app: App):
|
|||||||
|
|
||||||
assert ctx.gen_req_records() == [
|
assert ctx.gen_req_records() == [
|
||||||
"https://example.com Headers({'host': 'example.com', 'accept': '*/*', 'accept-encoding': 'gzip, deflate',"
|
"https://example.com Headers({'host': 'example.com', 'accept': '*/*', 'accept-encoding': 'gzip, deflate',"
|
||||||
" 'connection': 'keep-alive', 'user-agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like"
|
" 'connection': 'keep-alive', 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"
|
||||||
" Gecko) Chrome/51.0.2704.103 Safari/537.36'}) | [403] Headers({'content-length': '15', 'content-type':"
|
" (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36 Edg/130.0.0.0'}) | [403] Headers({'content-length': '"
|
||||||
|
"15', 'content-type':"
|
||||||
' \'application/json\'}) {"error": "gg"}'
|
' \'application/json\'}) {"error": "gg"}'
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user