Giter VIP home page Giter VIP logo

go-twitter-download-bot's Introduction

Overview

Telegram bot that downloads photo or video from Twitter and sends it to the user. Supports multiple media. Sample https://t.me/my_twitter_downloader_bot

Built with awesome https://github.com/gotd/td

Usage

export APP_ID=111 APP_HASH=abcdef BOT_TOKEN=12345:abcdef
go run main.go bot start -d /data_folder -s /data_folder/session.json

  -a, --admin-id int             admin id (optional)
  -r, --restrict-to-admin-id     restrict usage to admin id
  -D, --debug-telegram           enable debug log
  -d, --download-folder string   download folder
  -f, --forward-to int           forward media that was sent to a user to a channel (optional)
  -B, --include-bot-name         post will include bot name 
  -T, --include-text             post will include text
  -U, --include-url              post will include tweet url
  -p, --limit-pending int        limit pending requests from a user (admin has no limit) (default 1)
  -L, --limit-per-day int        limit requests per day (admin has no limit). Will reset after restart or next day. (default 30)
  -s, --session-file string      session file (default "twitter-downloader-session.json")
  -l, --use-limiter              use rate limiter for telegram api calls (default true)

go-twitter-download-bot's People

Contributors

nktknshn 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.