Code Monkey home page Code Monkey logo

send_tele's Introduction

📥 YouTube 音频下载并上传到 Telegram 机器人

此项目用于下载 YouTube 链接的音频并上传到 Telegram 机器人。项目使用 Rust 编写,因此需要先安装 Rust。

🚀 安装 Rust

在终端中运行以下命令以安装 Rust:

$ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

🔧 构建

构建项目并将可执行文件复制到 /usr/bin 目录:

$ cargo build -r
$ cp target/release/send_tele /usr/bin
$ chmod +x /usr/bin/send_tele

▶️ 运行

使用以下命令运行程序:

$ send_tele <油管链接> <用户ID> <BOT_TOKEN>

其中:

  • <油管链接> 是要下载音频的 YouTube 视频链接。
  • <用户ID> 是要发送音频的 Telegram 用户 ID。
  • <BOT_TOKEN> 是您的 Telegram 机器人的令牌。

通过这个项目,您可以轻松地将 YouTube 音频下载并发送到 Telegram。🎉

如果有任何问题或建议,欢迎提交 issue 或 pull request!✨

send_tele's People

Contributors

hzzz2 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.