NoneBot2链接分享解析器插件。解析视频、图片链接/小程序插件,tiktok、bilibili、twitter等实时发送!
Project description
📖 介绍
适用于NoneBot2的解析视频、图片链接/小程序插件,tiktok、bilibili、twitter等实时发送!
💿 安装
- 使用 nb-cli 安装,不需要手动添加入口,更新使用 pip
nb plugin install nonebot-plugin-resolver
- 使用 pip 安装和更新,初次安装需要手动添加入口
pip install --upgrade nonebot-plugin-resolver
- 【可选】安装
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插件极速版" # 解析前缀名
🤺 交流群
🎉 使用 & 效果图
贡献
同时感谢以下开发者对 Nonebot - R插件
作出的贡献:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for nonebot_plugin_resolver-1.1.11.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98725ea4de38a50fcce2fcf0d73293b75a7a2a6834b830771c077c3f1a4882b1 |
|
MD5 | 48914ea57381f781eca1a65f15eca1f2 |
|
BLAKE2b-256 | cdaf96e8955e52a701b52e2d61ff4e7666b122ce7ca769f503d489b8655c506f |
Close
Hashes for nonebot_plugin_resolver-1.1.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e2b35dca832a9163a710f12396f982389870effe99224fdca2800fda1c346cb |
|
MD5 | 962dbbc68164d6d33acca0fd4fa0e943 |
|
BLAKE2b-256 | 544a0a090d7ea07194bf8b67a2acc5b017383167c7cbac959ddccff5f6a13079 |