GithubHelp home page GithubHelp logo

api's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

api's Issues

logging level override

in api.py line 59 and 56

self.logger.setLevel(logging.DEBUG) #line 56
        logging.basicConfig(format='%(asctime)s %(message)s',
                            filename='instabot.log',
                            level=logging.INFO #line 59
)

i think line 59 override line 56, is it true and must be fixed?

KeyError: 'ds_user'

2023-03-16 22:52:55,438 - INFO - Instabot version: 0.117.0 Started
Traceback (most recent call last):
File "/home/amarnath/Desktop/dev/insta/expo.py", line 7, in
bot.login(username='username', password='password')
File "/home/amarnath/.local/lib/python3.11/site-packages/instabot/bot/bot.py", line 443, in login
if self.api.login(**args) is False:
^^^^^^^^^^^^^^^^^^^^^^
File "/home/amarnath/.local/lib/python3.11/site-packages/instabot/api/api.py", line 240, in login
self.load_uuid_and_cookie(load_cookie=use_cookie, load_uuid=use_uuid)
File "/home/amarnath/.local/lib/python3.11/site-packages/instabot/api/api.py", line 199, in load_uuid_and_cookie
return load_uuid_and_cookie(self, load_uuid=load_uuid, load_cookie=load_cookie)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/amarnath/.local/lib/python3.11/site-packages/instabot/api/api_login.py", line 352, in load_uuid_and_cookie
cookie_username = self.cookie_dict["ds_user"]
~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'ds_user'

Challenge page ,stops me every time

when i try to enter into my account every single time, the bot tops because instagram redirects to a challenge page where you should provide a code that was sent to your email account. But a can't introduce such code because the api simply stops, how can a get session to handle this ?

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.