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 
							
						 
					 
					
						
						
						
						
							
						
						
							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 
							
						 
					 
					
						
						
						
						
							
						
						
							c21b24b385 
							
						 
					 
					
						
						
							
							🚨  fix lint err  
						
						 
						
						
						
						
					 
					
						2024-06-03 18:36:07 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Azide 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							307739e37a 
							
						 
					 
					
						
						
							
							✨  ParseTargetException可以携带prompt参数 ( #479 )  
						
						 
						
						... 
						
						
						
						* ✨  ParseTargetException可以携带prompt参数
* ✨  丰富prompt提示 
						
						
					 
					
						2024-05-19 22:02:23 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Azide 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							9bc5be5426 
							
						 
					 
					
						
						
							
							♻️  为B站动态API建立model,转发动态放入repost字段 ( #507 )  
						
						 
						
						... 
						
						
						
						* 🐛  替换为pyd兼容性写法
* ♻️  优化 Bilibili 推送解析
* 🐛  为B站动态API建立Model,动态转发部分放入repost字段
* 🔥  删掉无关紧要的ttl字段
* 🐛  修理转发链接解析
* 🧑💻  增加可读性
* 🐛  使用pyd兼容函数
* 🐛  处理 pyd1 model rebuild 时没有递归的情况
* ♻️  将链接生成进行统一 
						
						
					 
					
						2024-03-29 15:08:06 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Azide 
							
						 
					 
					
						
						
						
						
							
						
						
							2a49effbba 
							
						 
					 
					
						
						
							
							🐛  替换为pyd兼容性写法  
						
						 
						
						
						
						
					 
					
						2024-03-29 15:03:02 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Cinte 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3683d3ef28 
							
						 
					 
					
						
						
							
							✨  更详细的微博 ( #504 )  
						
						 
						
						... 
						
						
						
						* ✨  微博优化
* 🔧  将转发内容放入repost
* 💄  auto fix by pre-commit hooks
* 🔧  补充获取转发微博的单元测试
* 🔧  微博增加视频封面的获取
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> 
						
						
					 
					
						2024-03-25 19:06:35 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Azide 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c96dd85b22 
							
						 
					 
					
						
						
							
							✨  独立 bilibili-live 的 SchedConf ( #473 )  
						
						 
						
						... 
						
						
						
						* ✨  独立 bilibili-live 的 SchedConf
* ✅  修正测试
* ✨  bilibili和bilibili-live共用http_client
* 🐛  不在__init__中修改_client_refresh_time
* ✨  将刷新浏览器变更为类方法
* ♻️  seperate BilibiliClient
Co-authored-by: felinea98 <me@felinae98.cn>
---------
Co-authored-by: felinea98 <me@felinae98.cn> 
						
						
					 
					
						2024-03-19 10:27:37 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								AzideCupric 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3cda6bfa0d 
							
						 
					 
					
						
						
							
							🐛  Arknights 公告分类 过滤不可访问的 URL ( #495 )  
						
						 
						
						
						
						
					 
					
						2024-03-10 21:52:30 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								uy/sun 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b6e68730b7 
							
						 
					 
					
						
						
							
							⬆️  适配 Pydantic V2 ( #484 )  
						
						 
						
						... 
						
						
						
						* ⬆️  适配 Pydantic V2
* 🐛  修复测试报错
* 🐛  适配忘记的 from_orm
* 🐛  忘记的 class-based `config`
* 🐛  更新 red 适配器版本 
						
						
					 
					
						2024-02-29 19:21:25 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Azide 
							
						 
					 
					
						
						
						
						
							
						
						
							4cfa672b82 
							
						 
					 
					
						
						
							
							🐛  修复文本替换,同步测试用文件内容  
						
						 
						
						
						
						
					 
					
						2024-02-23 10:22:01 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Azide 
							
						 
					 
					
						
						
						
						
							
						
						
							60812c2167 
							
						 
					 
					
						
						
							
							🐛  不使用 updateAt 作为 Arknights 公告的 get_date 返回值  
						
						 
						
						
						
						
					 
					
						2024-02-23 10:22:01 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Azide 
							
						 
					 
					
						
						
						
						
							
						
						
							700196c888 
							
						 
					 
					
						
						
							
							🔥  移除 mcbbsnews platform  
						
						 
						
						
						
						
					 
					
						2024-02-21 17:02:39 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Azide 
							
						 
					 
					
						
						
						
						
							
						
						
							f202071e9f 
							
						 
					 
					
						
						
							
							✨  添加 Theme 功能  
						
						 
						
						
						
						
					 
					
						2024-02-16 09:46:13 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pre-commit-ci[bot] 
							
						 
					 
					
						
						
						
						
							
						
						
							ffa180e8a6 
							
						 
					 
					
						
						
							
							💄  auto fix by pre-commit hooks  
						
						 
						
						
						
						
					 
					
						2023-10-15 23:18:33 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								AzideCupric 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							3039ba7bf9 
							
						 
					 
					
						
						
							
							🐛  处理topic_info字段缺失的问题 ( #354 )  
						
						 
						
						... 
						
						
						
						* 🐛  处理topic_info字段缺失的问题
* ✅  补充测试
* ♻️  dict get 默认为 None
Co-authored-by: felinae98 <731499577@qq.com>
* ♻️  原地tp?
Co-authored-by: felinae98 <731499577@qq.com>
---------
Co-authored-by: felinae98 <731499577@qq.com> 
						
						
					 
					
						2023-09-04 20:43:51 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								felinae98 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e7dcfdee50 
							
						 
					 
					
						
						
							
							✨  提供批量 api 接口 ( #290 )  
						
						 
						
						... 
						
						
						
						* 🚧  add batch api
* 🚧  support batch in scheduler
* ✨  use batch api in bilibili-live
✅  patch platform_manager directly
✨  use batch api in bilibili-live
✅  patch platform_manager directly
* ♻️  refactor var name
* 🐛  fix test
* 🐛  fix scheduler
* 🐛  fix test 
						
						
					 
					
						2023-08-29 21:12: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  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								pre-commit-ci[bot] 
							
						 
					 
					
						
						
						
						
							
						
						
							7d7c71d383 
							
						 
					 
					
						
						
							
							💄  auto fix by pre-commit hooks  
						
						 
						
						
						
						
					 
					
						2023-08-09 10:12:54 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								GuGuMur 
							
						 
					 
					
						
						
						
						
							
						
						
							0ce0034a56 
							
						 
					 
					
						
						
							
							🚑  修正图片渲染逻辑  
						
						 
						
						
						
						
					 
					
						2023-08-09 10:12:54 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								GuGuMur 
							
						 
					 
					
						
						
						
						
							
						
						
							2a51b24ba9 
							
						 
					 
					
						
						
							
							🚑  修正明日方舟游戏信息的模板与图片渲染  
						
						 
						
						
						
						
					 
					
						2023-08-09 10:12:54 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Cateon Huo 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							fd3f0ddddc 
							
						 
					 
					
						
						
							
							✨  适配明日方舟新版公告栏API ( #305 )  
						
						 
						
						... 
						
						
						
						* 🔨  适配明日方舟新版公告栏API
* ✅  更新测试
* 💄  auto fix by pre-commit hooks
---------
Co-authored-by: GuGuMur <222153315@qq.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> 
						
						
					 
					
						2023-07-27 12:13:23 +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 
							
						 
					 
					
						
						
						
						
							
						
						
							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  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								AzideCupric 
							
						 
					 
					
						
						
						
						
							
						
						
							7c62d218c0 
							
						 
					 
					
						
						
							
							👌  添加下划线以表示函数私有  
						
						 
						
						... 
						
						
						
						Co-authored-by: felinae98 <731499577@qq.com> 
						
						
					 
					
						2023-07-17 20:29:12 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Azide 
							
						 
					 
					
						
						
						
						
							
						
						
							4f7a3ebfbe 
							
						 
					 
					
						
						
							
							🐛  修复bililive订阅没有直播间的用户报错的问题  
						
						 
						
						
						
						
					 
					
						2023-07-17 20:29:12 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Azide 
							
						 
					 
					
						
						
						
						
							
						
						
							147f858a31 
							
						 
					 
					
						
						
							
							🐛  修复B站订阅没有动态的用户时报错的问题(第二次)  
						
						 
						
						
						
						
					 
					
						2023-07-17 20:29:12 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								felinae98 
							
						 
					 
					
						
						
						
						
							
						
						
							4118329bb0 
							
						 
					 
					
						
						
							
							🚧  remove User type  
						
						 
						
						
						
						
					 
					
						2023-06-06 03:30:50 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								UKM 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a8d632ffa3 
							
						 
					 
					
						
						
							
							🐞  更换获取B站用户名的api ( #261 )  
						
						 
						
						... 
						
						
						
						* 🐞  fix(platform-bilibili): 更改获取b站用户名的api
原先的api又用不了,换了一个api
* 🧪  test(tests/bilibili): 添加了部分B站的单元测试
1.修正番剧链接识别正则表达式出错
2.添加了直播和番剧的解析目标的单元测试 
						
						
					 
					
						2023-05-23 00:05:50 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								LambdaYH 
							
						 
					 
					
						
						
						
						
							
						
						
							3f98b6c214 
							
						 
					 
					
						
						
							
							🐛  修复ff14公告链接  
						
						 
						
						
						
						
					 
					
						2023-05-20 15:57:23 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								AzideCupric 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							24b6d60d69 
							
						 
					 
					
						
						
							
							开播提醒推送的图片改为使用直播间封面 ( #249 )  
						
						 
						
						... 
						
						
						
						* ✨  为bilibili直播添加下播提醒,添加直播分区信息
🚸  开播提醒推送的图片改为使用直播间封面
* ♻️  使用Enum
* 🐛  修复bilibili发送视频动态时不推送视频标题的问题
* 🎨  调整LiveAction的注释和jaccard函数代码位置
* 🚨  修改RawPost类型定义,优化bililive类型显示 
						
						
					 
					
						2023-05-14 01:41:25 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								UKM 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							85319daca1 
							
						 
					 
					
						
						
							
							👽  解决添加Blibili订阅时,获取用户名时的报错 ( #248 )  
						
						 
						
						... 
						
						
						
						* fix felinae98#246
* fix felinae98#246 (test)
* fix felinae98#246 (bilibili-live) 
						
						
					 
					
						2023-05-02 18:45:01 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								felinae98 
							
						 
					 
					
						
						
						
						
							
						
						
							2796ea6f8e 
							
						 
					 
					
						
						
							
							✨  add config for disable network warning log  
						
						 
						
						
						
						
					 
					
						2023-03-26 20:43:24 +08:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								felinae98 
							
						 
					 
					
						
						
						
						
							
						
						
							5f09f887f3 
							
						 
					 
					
						
						
							
							🥅  add raise_for_status for bilibili  
						
						 
						
						
						
						
					 
					
						2023-03-25 01:07:46 +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