| 
						
					 | 
					
						
						
							
							
								
									
								
							
						
						
						
							
						
						
							4c29cf10e4
							
						
					 | 
					
						
						
							
							✨ 添加 cookie_choose_counter
						
						
						
						
						
						
					 | 
					
						2024-12-12 14:54:12 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
							
						
						
						
							
						
						
							a48ea0e947
							
						
					 | 
					
						
						
							
							🐛 修复 cookie 模块 type hint (#658)
						
						
						
						
						
						
					 | 
					
						2024-12-05 16:08:42 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
							
						
						
						
							
						
						
							97a0f04808
							
						
					 | 
					
						
						
							
							✨ 添加 Cookie 组件 (#633)
						
						
						
						
						
						
						
						Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> 
						
						
					 | 
					
						2024-10-31 12:56:15 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								felinae98
							
						 
					 | 
					
						
						
						
						
							
						
						
							dc0dc252e7
							
						
					 | 
					
						
						
							
							🐛 use correct client in anonymous_site
						
						
						
						
						
						
					 | 
					
						2024-08-08 10:38:12 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Azide
							
						 
					 | 
					
						
						
							
							
						
						
						
							
						
						
							e2a97a9e56
							
						
					 | 
					
						
						
							
							✨ 适配小刻食堂平台 (#379)
						
						
						
						
						
						
						
						* 🐛 插入新的Schedulable时应传入use_batch参数
* ✨ 适配ceobecanteen平台
Co-authored-by: phidiaLam <2957035701@qq.com>
* ✨ ✨ 明日方舟公告与官网采用截图分享 (#480)
* ✨ 明日方舟公告与官网采用截图分享
* 💄 auto fix by pre-commit hooks
* 🐛 修复缺少的导入,优化逻辑
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Azide <rukuy@qq.com>
* 🐛 优化截图图片效果
* 🐛 修复错误将转发内图片视作头图的问题
* 🍱 使用正式 Bison Logo
* 💄 auto fix by pre-commit hooks
* 🐛 请求小刻API时不在headers里添加过多字段
* 🐛 get_comb_id方法删除无用的targets参数
* 💡 get_comb_id方法更新注释
* 🔥 移除发送部分的更改
* ✨ 在命名中明确表示cond_func意图
* ♻️ 拆分get_comb_id功能
* ♻️ 调整缓存逻辑
* ✨ 使用uri在theme中调用platform截图
* ♻️ 重构截图逻辑
* ✨ 添加模糊匹配提示
* ✨ 适配新版Site
* 💄 auto fix by pre-commit hooks
* 🐛 去掉不必要的排序
* 🐛 修正不应出现的驼峰变量名
* ♻️ 按review意见修改
* ♻️ 调整截图函数逻辑
* 🔊 调低日志等级
* ✏️ 修复一些拼写和格式
---------
Co-authored-by: phidiaLam <2957035701@qq.com>
Co-authored-by: 洛梧藤 <67498817+phidiaLam@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> 
						
						
					 | 
					
						2024-07-13 01:06:42 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Azide
							
						 
					 | 
					
						
						
							
							
						
						
						
							
						
						
							af72b6c3d0
							
						
					 | 
					
						
						
							
							🐛 B站蹲饼修复 (#525)
						
						
						
						
						
						
						
						* ✨ 使用新接口
* ♻️ 调整刷新逻辑
* 🐛 调整刷新逻辑
* ♻️ 将单个哔哩哔哩文件拆开
* 🐛 修修补补边界情况
* ✨ 添加UID:xxx匹配
* ✅ 调整测试中的导入
* ✅ 调整测试的断言
* 🐛 添加unicode字符的escape
* ✨ 不再主动刷新cookies
* 🔀 适配新版Site
* 🐛 解析live_rcmd中的json string
* 🚨 make ruff happy
* 🐛 调整并测试bilibili retry函数
* ✅ 修正测试
* ♻️ 按review意见调整
* ♻️ 清理一些遗留的复杂写法
* ♻️ 移出函数内的NameTuple
* 🔇 删除不必要的日志输出
Co-authored-by: felinae98 <731499577@qq.com>
* Update nonebot_bison/platform/bilibili/scheduler.py
* Update scheduler.py
---------
Co-authored-by: felinae98 <731499577@qq.com> 
						
						
					 | 
					
						2024-06-17 13:24:04 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								felinae98
							
						 
					 | 
					
						
						
						
						
							
						
						
							9729d4b776
							
						
					 | 
					
						
						
							
							🐛 remove unneeded default client
						
						
						
						
						
						
					 | 
					
						2024-06-17 13:17:32 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								felinae98
							
						 
					 | 
					
						
						
						
						
							
						
						
							5bd8b21f19
							
						
					 | 
					
						
						
							
							♻️ rename scheduler_config -> site
						
						
						
						
						
						
					 | 
					
						2024-06-03 18:36:07 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								felinae98
							
						 
					 | 
					
						
						
						
						
							
						
						
							2fc11a9653
							
						
					 | 
					
						
						
							
							♻️ refactor client of scheduler_config
						
						
						
						
						
						
					 | 
					
						2024-06-03 18:36:07 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								felinae98
							
						 
					 | 
					
						
						
						
						
							
						
						
							769b13ee4a
							
						
					 | 
					
						
						
							
							✨ add require_brownser for scheduler config
						
						
						
						
						
						
					 | 
					
						2024-05-13 23:06:08 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								pre-commit-ci[bot]
							
						 
					 | 
					
						
						
							
							
						
						
						
							
						
						
							9b514263aa
							
						
					 | 
					
						
						
							
							⬆️ auto update by pre-commit hooks (#465)
						
						
						
						
						
						
						
						* ⬆️ auto update by pre-commit hooks
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.9 → v0.2.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.9...v0.2.0)
- [github.com/psf/black: 23.12.1 → 24.1.1](https://github.com/psf/black/compare/23.12.1...24.1.1)
- [github.com/pre-commit/mirrors-eslint: v9.0.0-alpha.0 → v9.0.0-alpha.2](https://github.com/pre-commit/mirrors-eslint/compare/v9.0.0-alpha.0...v9.0.0-alpha.2)
* 💄 auto fix by pre-commit hooks
* 💄 auto fix by pre-commit hooks
* 🐛 fix some merge error
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Azide <rukuy@qq.com> 
						
						
					 | 
					
						2024-03-17 17:21:23 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Azide
							
						 
					 | 
					
						
						
						
						
							
						
						
							f202071e9f
							
						
					 | 
					
						
						
							
							✨ 添加 Theme 功能
						
						
						
						
						
						
					 | 
					
						2024-02-16 09:46:13 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								pre-commit-ci[bot]
							
						 
					 | 
					
						
						
							
							
						
						
						
							
						
						
							f6ee4a4c1b
							
						
					 | 
					
						
						
							
							⬆️ auto update by pre-commit hooks (#416)
						
						
						
						
						
						
						
						* ⬆️ auto update by pre-commit hooks
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.0.292 → v0.1.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.0.292...v0.1.9)
- [github.com/pycqa/isort: 5.12.0 → 5.13.2](https://github.com/pycqa/isort/compare/5.12.0...5.13.2)
- [github.com/psf/black: 23.9.1 → 23.12.1](https://github.com/psf/black/compare/23.9.1...23.12.1)
- [github.com/pre-commit/mirrors-prettier: v3.0.3 → v4.0.0-alpha.8](https://github.com/pre-commit/mirrors-prettier/compare/v3.0.3...v4.0.0-alpha.8)
- [github.com/pre-commit/mirrors-eslint: v8.50.0 → v9.0.0-alpha.0](https://github.com/pre-commit/mirrors-eslint/compare/v8.50.0...v9.0.0-alpha.0)
* 💄 auto fix by pre-commit hooks
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> 
						
						
					 | 
					
						2024-01-02 10:24:42 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								UKM
							
						 
					 | 
					
						
						
							
							
						
						
						
							
						
						
							cfa91df5e4
							
						
					 | 
					
						
						
							
							🐞 fix(text-similarity): 修复除0报错 (#302)
						
						
						
						
						
						
						
						* 🐞 fix(text-similarity): 修复除0报错
没有考虑到bilibili的推送出现动态或者视频简介长度为零的情况,出现文本相似度除0Error
* 🧪 test(bilibili): 添加视频动态内容为空的情况的测试
* 🧪 test(text-similarity): 增加文本相似度函数的测试
* Update test_rss.py
* 📃 docs(text_similarity): 添加文本相似度函数的注释
* 🦄 refactor(text_similarity): 重构文本相似度的比较方法
* 🎈 perf(similar_text): 将比较函数的return改成raise
* 🦄 refactor(text_similarity): 重构文本相似度比较方法
* Update nonebot_bison/platform/bilibili.py
Co-authored-by: felinae98 <731499577@qq.com>
* Update nonebot_bison/platform/rss.py
Co-authored-by: felinae98 <731499577@qq.com>
---------
Co-authored-by: felinae98 <731499577@qq.com> 
						
						
					 | 
					
						2023-08-27 16:28:26 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Azide
							
						 
					 | 
					
						
						
						
						
							
						
						
							fc699d80ce
							
						
					 | 
					
						
						
							
							⬆️ 升级dev工具依赖
						
						
						
						
						
						
						
						💄 auto fix by pre-commit hooks 
						
						
					 | 
					
						2023-07-18 21:43:25 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Azide
							
						 
					 | 
					
						
						
						
						
							
						
						
							bf788ff72a
							
						
					 | 
					
						
						
							
							🚨 移除noqa: E501
						
						
						
						
						
						
						
						💄 auto fix by pre-commit hooks 
						
						
					 | 
					
						2023-07-18 21:43:25 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Azide
							
						 
					 | 
					
						
						
						
						
							
						
						
							e50eb5d70b
							
						
					 | 
					
						
						
							
							👷 添加ruff actions
						
						
						
						
						
						
						
						🐛 分支应该是main而不是master
💄 auto fix by pre-commit hooks
🔥 dependabot.yml的registrys需要token,先删除 
						
						
					 | 
					
						2023-07-18 21:43:25 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								Azide
							
						 
					 | 
					
						
						
						
						
							
						
						
							dba8f2a9cb
							
						
					 | 
					
						
						
							
							🎨 按ruff的检查调整程序代码
						
						
						
						
						
						
					 | 
					
						2023-07-18 21:43:25 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								UKM
							
						 
					 | 
					
						
						
							
							
						
						
						
							
						
						
							ff3c0ffe65
							
						
					 | 
					
						
						
							
							🐛 修复bilibili推送的一些格式错误 (#263)
						
						
						
						
						
						
						
						* 🎈 perf(platform/bilibili): 增加了相似度计算前文本的预处理
将动态和简介文本中较长的一段按照较短的一段进行截取(分了从前截和从后截的两种情况)
* 🐞 fix(bilibili): 修复视频简介多余空格的bug
* 🦄 refactor(bilibili): 更改文本相似度比较函数 
						
						
					 | 
					
						2023-07-18 15:06:46 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								UKM
							
						 
					 | 
					
						
						
							
							
						
						
						
							
						
						
							9838e25bad
							
						
					 | 
					
						
						
							
							🎈优化RSS推送的内容 (#259)
						
						
						
						
						
						
						
						* 🧪 test(tests): 添加了RSS的单元测试
* 🎈 perf(rss and test): 优化了RSS部分源标题正文重复的问题
部分RSS源(RSSHub的Twitter)存在正文当标题用的情况,导致推送的时候呈现为两段重复的文字,现通过Jaccard相似系数来判断是否需要去重
* Update nonebot_bison/platform/rss.py
Co-authored-by: AzideCupric <57004769+AzideCupric@users.noreply.github.com>
* Update nonebot_bison/platform/rss.py
Co-authored-by: AzideCupric <57004769+AzideCupric@users.noreply.github.com>
* 🐞 fix(platform/rss): 修复了漏掉相似文本在后端位置的问题
* 🐞 fix(rss): 修正一些feed无法正确识别时间的bug
一些feed时间只有updated标签或者没有,原先的代码只能解析用published标签的时间
felinae98#275
* 🎈 perf(rss): 更改字符串相似度比较方法
从Jaccard相似系数比较相似度改为通过最长公共子序列来比较
* 🦄 refactor(rss): 重构实现字符串相似度比较的方法
使用标准库difflib代替原先手搓的LCS
* Update nonebot_bison/utils/__init__.py
Co-authored-by: felinae98 <731499577@qq.com>
* Update nonebot_bison/platform/rss.py
* Update nonebot_bison/platform/rss.py
---------
Co-authored-by: AzideCupric <57004769+AzideCupric@users.noreply.github.com>
Co-authored-by: felinae98 <731499577@qq.com> 
						
						
					 | 
					
						2023-07-18 11:54:49 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								felinae98
							
						 
					 | 
					
						
						
						
						
							
						
						
							5010ca1ac5
							
						
					 | 
					
						
						
							
							🚧 sunset get_bot
						
						
						
						
						
						
					 | 
					
						2023-06-06 03:30:50 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								felinae98
							
						 
					 | 
					
						
						
						
						
							
						
						
							da8e988ee9
							
						
					 | 
					
						
						
							
							♻️ use saa
						
						
						
						
						
						
					 | 
					
						2023-06-06 03:30:50 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								felinae98
							
						 
					 | 
					
						
						
						
						
							
						
						
							4118329bb0
							
						
					 | 
					
						
						
							
							🚧 remove User type
						
						
						
						
						
						
					 | 
					
						2023-06-06 03:30:50 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								AzideCupric
							
						 
					 | 
					
						
						
							
							
						
						
						
							
						
						
							24b6d60d69
							
						
					 | 
					
						
						
							
							开播提醒推送的图片改为使用直播间封面 (#249)
						
						
						
						
						
						
						
						* ✨ 为bilibili直播添加下播提醒,添加直播分区信息
🚸 开播提醒推送的图片改为使用直播间封面
* ♻️ 使用Enum
* 🐛 修复bilibili发送视频动态时不推送视频标题的问题
* 🎨 调整LiveAction的注释和jaccard函数代码位置
* 🚨 修改RawPost类型定义,优化bililive类型显示 
						
						
					 | 
					
						2023-05-14 01:41:25 +08:00 | 
					
					
						
						
							
							
							
						
					 | 
				
			
				
					
						
							
							
								 
								uy/sun
							
						 
					 | 
					
						
						
							
							
						
						
						
							
						
						
							90816796c7
							
						
					 | 
					
						
						
							
							🚚 修改 nonebot_bison 项目结构 (#211)
						
						
						
						
						
						
						
						* 🎨 修改 nonebot_bison 目录位置
* auto fix by pre-commit hooks
* 🚚 fix frontend build target
* 🚚 use soft link
* Revert "🚚 use soft link"
This reverts commit de21f79d5ae1bd5515b04f42a4138cb25ddf3e62.
* 🚚 modify dockerfile
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: felinae98 <731499577@qq.com> 
						
						
					 | 
					
						2023-03-09 17:32:51 +08:00 | 
					
					
						
						
							
							
							
						
					 |