ohld / igbot

🐙 Free scripts, bots and Python API wrapper. Get free followers with our auto like, auto follow and other scripts!
https://hikerapi.com/p/N2P6iqiM
Apache License 2.0
4.69k stars 1.47k forks source link

[BUG] Cannot login #1310

Closed thehackedone closed 4 years ago

thehackedone commented 4 years ago

Every time I try to login, I haven't changed anything seems like sometimes it works sometimes it doesn't anymore...

Traceback (most recent call last): File "c:\users\soul\appdata\local\programs\python\python36-32\lib\runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "c:\users\soul\appdata\local\programs\python\python36-32\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Users\Soul\AppData\Local\Programs\Python\Python36-32\Scripts\instabot-py.exe__main.py", line 9, in File "c:\users\soul\appdata\local\programs\python\python36-32\lib\site-packages\instabot_py__main__.py", line 395, in main bot = InstaBot(**configdict) File "c:\users\soul\appdata\local\programs\python\python36-32\lib\site-packages\instabot_py\instabot.py", line 365, in init__ self.login() File "c:\users\soul\appdata\local\programs\python\python36-32\lib\site-packages\instabot_py\instabot.py", line 589, in login self.user_id = self.get_user_id_by_username(self.user_login) File "c:\users\soul\appdata\local\programs\python\python36-32\lib\site-packages\instabot_py\instabot.py", line 392, in get_user_id_by_username "window._sharedData = (.*?);", info.text, re.DOTALL AttributeError: 'NoneType' object has no attribute 'group'

Example file

If you ran an example file specify it here.

Describe the bug

A clear and concise description of what the bug is.

Log

here

To Reproduce

(EXAMPLE:) Steps to reproduce the behavior:

  1. Run file:
  2. Edit '...'
  3. Run '....'

Expected behavior

A clear and concise description of what you expected to happen.

Additional context

Add any other context about the problem here.

Version

Python version (python -v): OS: Win/Linux/MacOS

thehackedone commented 4 years ago

so I assume I am either an idiot or its broken, I realize you have a template, but not everyone wants to follow that I will just use something that works better then this pile.