nonebot-plugin-parser 2.6.2__tar.gz → 2.6.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/PKG-INFO +1 -1
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/pyproject.toml +2 -2
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/renders/templates/card.html.jinja2 +5 -3
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/README.md +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/__init__.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/config.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/constants.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/download/__init__.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/download/task.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/download/ytdlp.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/exception.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/helper.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/matchers/__init__.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/matchers/filter.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/matchers/rule.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/parsers/__init__.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/parsers/acfun/__init__.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/parsers/acfun/video.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/parsers/base.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/parsers/bilibili/__init__.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/parsers/bilibili/article.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/parsers/bilibili/common.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/parsers/bilibili/dynamic.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/parsers/bilibili/favlist.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/parsers/bilibili/live.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/parsers/bilibili/opus.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/parsers/bilibili/video.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/parsers/cookie.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/parsers/data.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/parsers/douyin/__init__.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/parsers/douyin/slides.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/parsers/douyin/video.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/parsers/kuaishou/__init__.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/parsers/kuaishou/states.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/parsers/nga.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/parsers/task.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/parsers/tiktok.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/parsers/twitter.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/parsers/utils.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/parsers/weibo/__init__.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/parsers/weibo/article.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/parsers/weibo/common.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/parsers/weibo/show.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/parsers/xiaohongshu/__init__.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/parsers/xiaohongshu/common.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/parsers/xiaohongshu/discovery.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/parsers/xiaohongshu/explore.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/parsers/youtube/__init__.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/parsers/youtube/meta.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/renders/__init__.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/renders/base.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/renders/common.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/renders/default.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/renders/htmlrender.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/renders/resources/HYSongYunLangHeiW.ttf +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/renders/resources/__init__.py +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/renders/resources/avatar.png +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/renders/resources/bilibili.png +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/renders/resources/douyin.png +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/renders/resources/fallback_pic/1.jpg +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/renders/resources/fallback_pic/2.jpg +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/renders/resources/fallback_pic/3.jpg +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/renders/resources/fallback_pic/4.jpg +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/renders/resources/fallback_pic/5.jpg +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/renders/resources/fallback_pic/6.jpg +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/renders/resources/fallback_pic/7.jpg +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/renders/resources/fallback_pic/8.jpg +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/renders/resources/fallback_pic/9.jpg +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/renders/resources/kuaishou.png +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/renders/resources/play.png +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/renders/resources/tiktok.png +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/renders/resources/twitter.png +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/renders/resources/weibo.png +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/renders/resources/xiaohongshu.png +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/renders/resources/youtube.png +0 -0
- {nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: nonebot-plugin-parser
|
|
3
|
-
Version: 2.6.
|
|
3
|
+
Version: 2.6.3
|
|
4
4
|
Summary: NoneBot2 链接分享解析 Alconna 版, 现支持B站|抖音|快手|微博|小红书|YouTube|TikTok|Twitter|AcFun|NGA
|
|
5
5
|
Keywords: acfun,bilibili,douyin,kuaishou,nga,nonebot,nonebot2,tiktok,twitter,video,weibo,xiaohongshu,youtube
|
|
6
6
|
Author: fllesser
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "nonebot-plugin-parser"
|
|
3
|
-
version = "2.6.
|
|
3
|
+
version = "2.6.3"
|
|
4
4
|
description = "NoneBot2 链接分享解析 Alconna 版, 现支持B站|抖音|快手|微博|小红书|YouTube|TikTok|Twitter|AcFun|NGA"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.10"
|
|
@@ -116,7 +116,7 @@ conflicts = [
|
|
|
116
116
|
[tool.bumpversion]
|
|
117
117
|
tag = true
|
|
118
118
|
commit = true
|
|
119
|
-
current_version = "2.6.
|
|
119
|
+
current_version = "2.6.3"
|
|
120
120
|
message = "release: bump vesion from {current_version} to {new_version}"
|
|
121
121
|
|
|
122
122
|
[[tool.bumpversion.files]]
|
|
@@ -577,10 +577,12 @@
|
|
|
577
577
|
{% if result.title and result.video %}<div class="title">{{ result.title }}</div>{% endif %}
|
|
578
578
|
{# ── Text(非动态类型) ── #}
|
|
579
579
|
{% if content_type != '动态' and result.text %}<div class="text">{{ result.text }}</div>{% endif %}
|
|
580
|
-
|
|
581
|
-
{# ── Image Grid ── #}
|
|
580
|
+
|
|
582
581
|
{% set imgs = result.all_grid_images %}
|
|
583
|
-
{% if
|
|
582
|
+
{% if video%}
|
|
583
|
+
{# 如果有视频,则不显示图片网格 #}
|
|
584
|
+
{# ── Image Grid ── #}
|
|
585
|
+
{% elif imgs %}
|
|
584
586
|
{% set count = imgs|length %}
|
|
585
587
|
{% if count == 1 %}
|
|
586
588
|
{% set img = imgs[0] %}
|
|
File without changes
|
{nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/__init__.py
RENAMED
|
File without changes
|
{nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/config.py
RENAMED
|
File without changes
|
{nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/constants.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/exception.py
RENAMED
|
File without changes
|
{nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/helper.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/parsers/nga.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{nonebot_plugin_parser-2.6.2 → nonebot_plugin_parser-2.6.3}/src/nonebot_plugin_parser/utils.py
RENAMED
|
File without changes
|