Skip to main content

NoneBot2链接分享解析器插件。解析视频、图片链接/小程序插件,tiktok、bilibili、twitter等实时发送!

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-resolver

✨ NoneBot2 链接分享解析器插件 ✨

license pypi python

📖 介绍

适用于NoneBot2的解析视频、图片链接/小程序插件,tiktok、bilibili、twitter等实时发送!

💿 安装

  1. 使用 nb-cli 安装,不需要手动添加入口,更新使用 pip
nb plugin install nonebot-plugin-resolver
  1. 使用 pip 安装和更新,初次安装需要手动添加入口
pip install --upgrade nonebot-plugin-resolver
  1. 【可选】安装am解析必要的依赖
npm install -g freyr
# 或者你有yarn的话可以使用
yarn global add freyr
# 接着安装它的依赖
apt-get install atomicparsley

⚙️ 配置

在 nonebot2 项目的.env文件中添加下表中的可选配置

DOUYIN_CK='odin_tt=4365b7fc5681ac8702a0adfcbe9733bcd7c5c1ed61993a02640bbe4f2cc56f419ccbeda80d3560686d9a64f9ea5d587f;passport_fe_beating_status=true;sid_guard=1796d8581585653a050884d09e26008b%7C1715415372%7C5183998%7CWed%2C+10-Jul-2024+08%3A16%3A10+GMT;uid_tt=7199d412b0d7cee4430070a8cfc8320f;uid_tt_ss=7199d412b0d7cee4430070a8cfc8320f;sid_tt=1796d8581585653a050884d09e26008b;sessionid=1796d8581585653a050884d09e26008b;sessionid_ss=1796d8581585653a050884d09e26008b;sid_ucp_v1=1.0.0-KGQ3NDhkNzRlYjU5YWI0YmQ4YmExZmVkOGFhOGRiNDg1NDNkMzkxNTAKGwi_5uDl4oy6AxDM0vyxBhjvMSAMOAJA8QdIBBoCaGwiIDE3OTZkODU4MTU4NTY1M2EwNTA4ODRkMDllMjYwMDhi;ssid_ucp_v1=1.0.0-KGQ3NDhkNzRlYjU5YWI0YmQ4YmExZmVkOGFhOGRiNDg1NDNkMzkxNTAKGwi_5uDl4oy6AxDM0vyxBhjvMSAMOAJA8QdIBBoCaGwiIDE3OTZkODU4MTU4NTY1M2EwNTA4ODRkMDllMjYwMDhi;passport_assist_user=CkGuJEZPpgFQWNMCABb2GaOC-Ti8e0UuW4QgdpP--GoBlq1KrfwWwP_QaJejxEtNd77iqpXX0czej9pjLoexN_qcyxpKCjxwi9cIHJwQc4xpNFKIDoabUFW0O9dmh5yta1sCQR0WbZTaov2ldfGGIoELE5m002kdncRlUiDU_hh0mqAQtIDRDRiJr9ZUIAEiAQNAdRnC;ttwid=1%7C1oSBGQv3H2RaIGU0T5qWdSIbXmqLC8DQ2l_8cXcvoaE%7C1715415325%7C790ecd495fe12b8c3056a6562f14888ca137d14aa01b2534e3f205fb6c8d82a1;' # douyin's cookie, 格式:odin_tt=xxx;passport_fe_beating_status=xxx;sid_guard=xxx;uid_tt=xxx;uid_tt_ss=xxx;sid_tt=xxx;sessionid=xxx;sessionid_ss=xxx;sid_ucp_v1=xxx;ssid_ucp_v1=xxx;passport_assist_user=xxx;ttwid=xxx;
IS_OVERSEA=False # 是否是海外服务器部署
IS_LAGRANGE=False # 是否是拉格朗日(https://github.com/KonataDev/Lagrange.Core)
RESOLVER_PROXY = "http://127.0.0.1:7890" # 代理
R_GLOBAL_NICKNAME = "R插件极速版" # 解析前缀名

🤺 交流群

🎉 使用 & 效果图

help help help help help

贡献

同时感谢以下开发者对 Nonebot - R插件 作出的贡献:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_resolver-1.1.10.tar.gz (22.7 kB view details)

Uploaded Source

Built Distribution

nonebot_plugin_resolver-1.1.10-py3-none-any.whl (25.0 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_resolver-1.1.10.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_resolver-1.1.10.tar.gz
Algorithm Hash digest
SHA256 fd3fdf1fdb2457ede2731abb3eb21270de85432dbf4adc97c3c8c667dcec5de6
MD5 a1e4c288c9a092a90819edb581d08b76
BLAKE2b-256 cb991fcca3c413bd6a1393be518eb26bc15654901c081909fa84ea984fc758e1

See more details on using hashes here.

File details

Details for the file nonebot_plugin_resolver-1.1.10-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_resolver-1.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 8d186ab093613f179a93db33b0315498e19c7273718d2ec0e3e49dcf100d907b
MD5 f05d1f7c10bd63ca624be240c154fc31
BLAKE2b-256 228333b72d5d83b8bbefc6cd1a3b91f9ae4aa2f5bcb99fa11b42e184c7bddb23

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page