Git Product home page Git Product logo

instagram-bot's Issues

Bot sends low quality photos

The bot sends compressed images.
There may be 2 reason :-

  1. the images that are downloaded by bot from telegram are in low quality
  2. the bot may be downloading high quality images but are compressed by telegram ( Telegram compresses files only if bot sends 'file as photo.) This can be overcome by setting 'file as document'.

Hope you understand it and solve this.

help me.

hi.
i create bot and it works at first use to download all pix of an account and after it my instagram account disabled!
any fix?

Request for posts download

Hi

You have provided an wonderful bot for personal use and this is very useful.

I am just want to check or requesting is there any possible of downloading only certain number of posts or top n number of posts like how we do use /feed n(number of latest updates).

Could you please add this if there is a possibility .

like

/posts samantha 10 .

I know this is a requirement and not an issue but not sure how to add an request

error for download videos or history

error download Story, ...Profile ok download, but Story no `Logged in as nicomarkguzmn.

Finished Output
Traceback (most recent call last):

File "/home/markosc/.local/bin/instaloader", line 8, in

sys.exit(main())

File "/home/markosc/.local/lib/python3.9/site-packages/instaloader/main.py", line 471, in main

_main(loader,

File "/home/markosc/.local/lib/python3.9/site-packages/instaloader/main.py", line 182, in _main

profile = instaloader.check_profile_id(target, latest_stamps)

File "/home/markosc/.local/lib/python3.9/site-packages/instaloader/instaloader.py", line 1326, in check_profile_id

profile_id = self.load_profile_id(profile_name)

File "/home/markosc/.local/lib/python3.9/site-packages/instaloader/instaloader.py", line 1289, in load_profile_id

with open(id_filename, 'rb') as id_file:

NotADirectoryError: [Errno 20] Not a directory: '709460828/schwarzenegger/schwarzenegger_id'

Finished No error
Gif- []

Video - []

Pictures - []

`

Error...

Update bot please last update 2 years before

Deploy Blocked

Heroku is blocked to create a bot in thair site. Now we can't deploy bot om heroku

Login Checkpoint

I tried more than 10 times and i kept getting the error again and again. any ways to fix?

Can't deploy to Heroku

IT'S WHAT HEROKU SAYS :
Item could not be created:
We couldn't deploy your app because the source code violates the Salesforce Acceptable Use and External-Facing Services Policy.
if you can show us another way like deploying on replit or railway it would be great
THANKS ๐Ÿ’—

download in order

good day, it is possible that the download of the images, videos, etc can be downloaded in order, because I see that the download does not respect the order of the publication ((by time and date)) but rather the type of file, thanks for this wonderful plugin

Bot will not download over 400 saved posts at once

Hi! Due to the fact that the bot doesn't seem to download the posts in an order, I can't download my large saved collection of instagram posts without manually finding each and every post that it downloaded and unsaving it before calling the /saved command again.

Proposed solutions:

  1. an option to unsave posts after they are downloaded.
  2. an option to save a range of posts in whatever order they are seen. (i.e. /saved 400-800)
  3. an option to try to save all of the posts by reestablishing the connection after 400. (i.e. /saved all)

Getting error after filling INSTA_SESSIONFILE_ID in config.py

Bot works fine before but after fill INSTA_SESSIONFILE_ID in config.py can't run main.py.
Error -

~/Instagram-Bot-main# python3 main.py
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/pyrogram/file_id.py", line 228, in decode
    file_type = FileType(file_type)
  File "/usr/lib/python3.8/enum.py", line 339, in __call__
    return cls.__new__(cls, value)
  File "/usr/lib/python3.8/enum.py", line 663, in __new__
    raise ve_exc
ValueError: 220 is not a valid FileType

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "main.py", line 47, in <module>
    bot.run(main())
  File "/usr/local/lib/python3.8/dist-packages/pyrogram/methods/utilities/run.py", line 51, in run
    run(coroutine)
  File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
    return future.result()
  File "main.py", line 42, in main
    await bot.download_media(Config.INSTA_SESSIONFILE_ID, file_name=f"./{Config.USER}")
  File "/usr/local/lib/python3.8/dist-packages/pyrogram/methods/messages/download_media.py", line 122, in download_media
    file_id_obj = FileId.decode(file_id_str)
  File "/usr/local/lib/python3.8/dist-packages/pyrogram/file_id.py", line 230, in decode
    raise ValueError(f"Unknown file_type {file_type} of file_id {file_id}")
ValueError: Unknown file_type 220 of file_id 3A......OzxoK....Cjm7cc_W.....SanoqIs.....3TwlQ

(INSTA_SESSIONFILE_ID is correct)
Looking forward to a solution.
Thank you...

Can I add another sudo user?

Hey, I just deployed this bot and it's working great. I just wanted to ask that, is there any way that other people can use this bot?
For example, my friends wanted to use my deployed bot. So can I add more sudo user? Thank you.

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.