InstaPy / InstaPy/instapy-docker

KeyError: 'dissmiss_save_information'

Aperta
#84 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
193
Fork
84
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hi
When trying to run instapy with simple settings, the same error always occurs. At the same time, the login from instapy is visible in the login history in the settigns of the instagram account. Can you help me or tell me what I'm doing wrong, please

-----------------------------------
**#docker_quickstart.py**
from instapy import InstaPy
from instapy.util import smart_run

insta_username = 'LOG'
insta_password = 'PASS'

bot = InstaPy(username=insta_username, password=insta_password, headless_browser=True)
with smart_run(bot):
session.set_user_interact(amount=3, randomize=True, percentage=100)
session.like_by_tags(['cat'], amount=1, interact=True)
bot.end()
-----------------------------------

**logs from docker-compose up**

Starting instapy_web ... done
Attaching to instapy_web
2588kb [00:21, 122.37kb/s]
web_1 | INFO [2020-11-07 20:40:22] [LOG] Session started!
web_1 | INFO [2020-11-07 20:40:22] [LOG] -- Connection Checklist [1/2] (Internet Connection Status)
web_1 | INFO [2020-11-07 20:40:22] [LOG] - Internet Connection Status: ok
web_1 | INFO [2020-11-07 20:40:22] [LOG] - Current IP is "**.***.***.**" and it's from "Ukraine/UA"
web_1 | INFO [2020-11-07 20:40:22] [LOG] -- Connection Checklist [2/2] (Hide Selenium Extension)
web_1 | INFO [2020-11-07 20:40:22] [LOG] - window.navigator.webdriver response: None
web_1 | INFO [2020-11-07 20:40:22] [LOG] - Hide Selenium Extension: ok
web_1 | INFO [2020-11-07 20:40:42] [LOG] Sessional Live Report:
web_1 | |> No any statistics to show
web_1 |
web_1 |
web_1 | [Session lasted 46.3 seconds]
web_1 | INFO [2020-11-07 20:40:42] [LOG] Session ended!
web_1 | InstaPy Version: 0.6.12
web_1 | ._. ._. ._. ._. ._. ._. ._.
web_1 | Workspace in use: "/code/InstaPy"
web_1 | OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
web_1 | oooooooooooooooooooooooooooooooooooooooooooooooooooooo
web_1 | Cookie file not found, creating cookie...
web_1 |
web_1 | OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
web_1 | ooooooooooooooooooooooooooooooooooooooooooooooooooo
web_1 |
web_1 |
web_1 |
web_1 | Traceback (most recent call last):
web_1 | File "docker_quickstart.py", line 19, in
web_1 | with smart_run(bot):
web_1 | File "/usr/local/lib/python3.7/contextlib.py", line 112, in __enter__
web_1 | return next(self.gen)
web_1 | File "/usr/local/lib/python3.7/site-packages/instapy/util.py", line 1920, in smart_run
web_1 | session.login()
web_1 | File "/usr/local/lib/python3.7/site-packages/instapy/instapy.py", line 433, in login
web_1 | self.want_check_browser,
web_1 | File "/usr/local/lib/python3.7/site-packages/instapy/login_util.py", line 364, in login_user
web_1 | dissmiss_save_information(browser, logger)
web_1 | File "/usr/local/lib/python3.7/site-packages/instapy/login_util.py", line 495, in dissmiss_save_information
web_1 | offer_elem_loc = read_xpath(dissmiss_save_information.__name__, "offer_elem_loc")
web_1 | File "/usr/local/lib/python3.7/site-packages/instapy/xpath.py", line 5, in read_xpath
web_1 | return xpath[function_name][xpath_name]
web_1 | KeyError: 'dissmiss_save_information'
instapy_web exited with code 1

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.