Skip to main content

nonebot-plugin-instagram

✨ 一个基于 RapidAPI 的 NoneBot2 Instagram 解析插件 ✨

📖 介绍

一个基于 RapidAPI 的 NoneBot2 Instagram 解析插件,可以在群聊和私聊解析 instagram 链接发送相关图片或视频。

💿 安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-instagram
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip
pip install nonebot-plugin-instagram
pdm
pdm add nonebot-plugin-instagram
poetry
poetry add nonebot-plugin-instagram
conda
conda install nonebot-plugin-instagram

打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入

plugins = ["nonebot-plugin-instagram"]

⚙️ 配置

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

配置项 必填 默认值 说明
INSTAGRAM_RAPIDAPI_KEY RapidAPI Key
INSTAGRAM_RAPIDAPI_HOST instagram-looter2.p.rapidapi.com 如果 API Host 不是 looter2,可以修改

获取 rapidapi

注册账号:https://rapidapi.com/auth/sign-up

搜索"Instagram",找到Instagram Looter,点击右侧"Subscribe to test",选择"Start Free Plan" - "Subscribe"

部署后记录下"x-rapidapi-key",填入INSTAGRAM_RAPIDAPI_KEY配置。

🎉 使用

在群里或者私聊发送 instagram 链接

Release files for nonebot-plugin-instagram 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nonebot-plugin-instagram 0.3.1
File Size Uploaded
nonebot_plugin_instagram-0.3.1.tar.gz 5.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nonebot-plugin-instagram 0.3.1
File Interpreter ABI Platform
nonebot_plugin_instagram-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 11.8 kB

Release files / nonebot_plugin_instagram-0.3.1.tar.gz

Download URL nonebot_plugin_instagram-0.3.1.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
76569568c270bad1f87e8eece2fae3adf4e6504641a8eb7e77b75d849a066633
BLAKE2b-256 checksum
How to use checksums
d0e89d36317c0eb3bc8955cae7fd6d407b58ac14dccb1bb06e3ff8a6fe0c7f7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / nonebot_plugin_instagram-0.3.1-py3-none-any.whl

Download URL nonebot_plugin_instagram-0.3.1-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eab88eaed9a04ff4ca134f44eda68bee2d5afe5c156541ea3bb0da78b79c4364
BLAKE2b-256 checksum
How to use checksums
e4ce583f8f97d6fed890fddcfc07f6678b2cbdf21d948caf12e2dffd837e95e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

0.3.0

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page