Giter Club home page Giter Club logo

instagram2's Introduction

Telegram Bot

A telegram bot to download media from Instagram! No API Key or Login Needed!

Requirements

  • You must have python installed (of course)

  • You must install the following modules

    pip install python-telegram-bot
    pip install requests
    

How to use

  1. Make sure you installed all the requirements
  2. Open Telegram, go to @BotFather and create a new Bot.
  3. Copy the Bot Access Token.
  4. Open the main.py file using any text editor, go down to line 127 and paste your token there.
  5. Save the file and run the script!

How it works

This bot uses the Instagram public GraphQL API. When a link is sent to the bot, a request to the API is sent and a json response is received. The bot will get every media included in the given post and send it to the user.

NOTE

Please note that the API requests will not work (aka the bot wouldn't be able to send the media) if you are hosting the bot on a platform like Heroku or PythonAnyWhere. If you are planning to keep the bot running 24/7 you must keep it running on your local machine forever or on a Raspberry Pi. Or just find an alternative API (most of them are paid ones)

Support My Work

Buy Me A Coffee

instagram2's People

Contributors

simonfarah avatar kumar2323 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.