Skip to content

Telegram bot that will receive instagram links and return to the user the photo of the given link

License

Notifications You must be signed in to change notification settings

hazcoper/InstaDownloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TelegramBot Insta downloader

Simple telegram bot that will receive a link for a instagram post and will return the image of that post

Uses telegram bot api to create a chat bot that will deal with the user interaction and instaloader to download the posts

Explanation

A fast and simple option to download instagram posts

Usage

For more options refer to instaloader documentation

After dealing with the login, installing everything and creating your bot, using the project is really easy. run the program using the following command:

python3 Main.py

Login

It is not necessary for you to login with your account, however, if you desire to download images from a private account, you must login (and the login account should follow the account with the desired photo) in order to login run the following command in the terminal

instaloader --login YOUR_USERNAME

After pressing enter it will ask for the password. Instaloader will then cache the username and password, meaning that only need to login once.

Creating bot

open telegram, register your account with the bot and start sending links

  • to register your account with the bot, check the link that was given by the Bot Father when you created your bot
  • it will be necesasry to create a file called "credentials.txt.

Install

After cloning the repo, run the following command to install the dependencies

pip install -r requirements.txt

After that follow the usage instructions

Create bot

To do

- see if it works with stories
- test the code
- support multiple users
  - have a way to identify them and each could have different permissiosn
- add ota
- add ability to reboot the program

Done

- separate code
- make usage instructions
- create the requirements file
- make install instructions
  - needs to include the making of the bot

Known limitations

- all the text after a # in the description will not be sent

Disclaimer

Please do not use this tool to steal content from other people, always remeber to give credit where credit's due I am not responsible for any misuse of this tool

About

Telegram bot that will receive instagram links and return to the user the photo of the given link

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages