breuerfelix / instapy-gui Goto Github PK
View Code? Open in Web Editor NEWgui for instapy automation
License: GNU General Public License v3.0
gui for instapy automation
License: GNU General Public License v3.0
First of all what a great update!
but I do get these errors:
INFO [2019-07-11 17:23:59] [xxx] Using built in instapy-chromedriver executable (version 2.46)
Traceback (most recent call last):
File "bot.py", line 121, in <module>
session = InstaPy(**instapy_args)
File "/home/pi/InstaPyGUI/env/lib/python3.7/site-packages/instapy/instapy.py", line 327, in __init__
self.set_selenium_local_session()
File "/home/pi/InstaPyGUI/env/lib/python3.7/site-packages/instapy/instapy.py", line 388, in set_selenium_local_session
self.browser_binary_path)
File "/home/pi/InstaPyGUI/env/lib/python3.7/site-packages/instapy/browser.py", line 147, in set_selenium_local_session
chrome_options=chrome_options)
File "/home/pi/InstaPyGUI/env/lib/python3.7/site-packages/selenium/webdriver/chrome/webdriver.py", line 73, in __init__
self.service.start()
File "/home/pi/InstaPyGUI/env/lib/python3.7/site-packages/selenium/webdriver/common/service.py", line 76, in start
stdin=PIPE)
File "/usr/local/lib/python3.7/subprocess.py", line 756, in __init__
restore_signals, start_new_session)
File "/usr/local/lib/python3.7/subprocess.py", line 1499, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 8] Exec format error: '/home/pi/InstaPyGUI/env/lib/python3.7/site-packages/instapy_chromedriver/chromedriver_linux64'
Hi, I was getting this error, when trying to spin up the current master (29655f6) via docker-compose up -d
.
root@instapy:~/instapy-gui# docker-compose up -d
Creating network "instapygui_default" with the default driver
Building instapy
Step 1/6 : FROM python:3.7-slim-buster
3.7-slim-buster: Pulling from library/python
8559a31e96f4: Pull complete
62e60f3ef11e: Pull complete
002bcbc97d49: Pull complete
ba21c0b7837a: Pull complete
b3463869e7af: Pull complete
Digest: sha256:e191d73f7f87dfff6f723655ff5222e1c90c9e67bc727a5c5a4d4cd45943efd4
Status: Downloaded newer image for python:3.7-slim-buster
---> b386e7420fc3
Step 2/6 : WORKDIR /usr/instapy
---> Running in 45e2c89c60e1
Removing intermediate container 45e2c89c60e1
---> 9a6cfc1df694
Step 3/6 : COPY . .
---> 2c80532c1a6a
Step 4/6 : RUN sed -i "s#deb http://deb.debian.org/debian buster main#deb http://deb.debian.org/debian buster main contrib non-free#g" /etc/apt/sources.list && apt-get update && apt-get install -y --no-install-recommends wget=1.20.1-1.1 gcc=4:8.3.0-1 g++=4:8.3.0-1 firefox-esr=68.9.0esr-1~deb10u1 firefoxdriver=3.14.1-1 && apt-get clean && rm -rf /var/lib/apt/lists/*
---> Running in 8582104f8e2e
Get:1 http://deb.debian.org/debian buster InRelease [121 kB]
Get:2 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Get:4 http://security.debian.org/debian-security buster/updates/main amd64 Packages [208 kB]
Get:5 http://deb.debian.org/debian buster/contrib amd64 Packages [51.0 kB]
Get:6 http://deb.debian.org/debian buster/main amd64 Packages [7905 kB]
Get:7 http://deb.debian.org/debian buster/non-free amd64 Packages [87.7 kB]
Get:8 http://deb.debian.org/debian buster-updates/main amd64 Packages [7868 B]
Fetched 8499 kB in 2s (4104 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
E: Version '68.9.0esr-1~deb10u1' for 'firefox-esr' was not found
ERROR: Service 'instapy' failed to build: The command '/bin/sh -c sed -i "s#deb http://deb.debian.org/debian buster main#deb http://deb.debian.org/debian buster main contrib non-free#g" /etc/apt/sources.list && apt-get update && apt-get install -y --no-install-recommends wget=1.20.1-1.1 gcc=4:8.3.0-1 g++=4:8.3.0-1 firefox-esr=68.9.0esr-1~deb10u1 firefoxdriver=3.14.1-1 && apt-get clean && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
Version information:
root@instapy:~/instapy-gui# docker --version
dDocker version 19.03.6, build 369ce74a3c
root@instapy:~/instapy-gui# docker-compose --version
docker-compose version 1.17.1, build unknown
pi@raspberrypi:~/InstaPy $ sudo docker-compose up
Creating network "instapy_instapy-net" with driver "bridge"
Creating volume "instapy_instapy-data" with default driver
Creating volume "instapy_instapy-mongo" with default driver
Creating volume "instapy_instapy-grafana" with default driver
Creating volume "instapy_instapy-influxdb" with default driver
Pulling mongo (mongo:latest)...
latest: Pulling from library/mongo
ERROR: no matching manifest for unknown in the manifest list entries
Any ideas for this? I did some searching and it seems like the problem is related to arm64 vs aarch64?
Hey, i repeatedly get this error when running bash startClient.sh
: error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)
closed socket
Is there a way to fix this? thanks!
Hello,
i have made everything works, but it seems like the process is always skipping private users :
Not a valid user: #### is private account, by default skip
is there any solution how to change it ?
Regards
Getting this error when running instapy-client on docker
`.. .. .. .. .. .. .. .. .. ..
Workspace in use: "/usr/instapy/assets/InstaPy"
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/common/service.py", line 76, in start
stdin=PIPE)
File "/usr/local/lib/python3.7/subprocess.py", line 775, in init
restore_signals, start_new_session)
File "/usr/local/lib/python3.7/subprocess.py", line 1522, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/bin/geckodriver': '/usr/local/bin/geckodriver'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "bot.py", line 126, in
session = InstaPy(**instapy_args)
File "/usr/local/lib/python3.7/site-packages/instapy/instapy.py", line 321, in init
self.logger,
File "/usr/local/lib/python3.7/site-packages/instapy/browser.py", line 114, in set_selenium_local_session
options=firefox_options,
File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/firefox/webdriver.py", line 164, in init
self.service.start()
File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/common/service.py", line 83, in start
os.path.basename(self.path), self.start_error_message)
selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH.`
So I added geckdriver to /usr/local/bin/geckodriver and the same happens.
Finally I rename /usr/local/bin/geckodriver and create a dummy "executable" touch geckodriver
and the error changes.. so not a path problem.
When I try to execute manually geckodriver I find the culprit:
/usr/local/bin # geckodriver sh: geckodriver: not found
So the problem goes deeper, is something related to this:
unix.stackexchange post
So when I look into the /lib folder on the container the only ld**.so I find is ld-musl-x86_64.so.1.
Quick google search later and that is Alpine linux. Meaning of course I cant run some stuff because this is as bare linux as it gets.
And the I found the Dockerfile in the /usr/instapy folder and indeed the image being used is python:3-alpine.
Thing is there is no repo to submit a fix for the client, the only repo is for the GUI. I find that baffling since great part of work you did here has a lot to do with the client. By the way awesome work.
EDIT: finally found the services folder, maybe make that another repo?
EDIT2: Also find it very weird that instapy attempts to use Gecko when wherever I look this is configured for chrome driver. That wouldn't solve it in my opinion though because chrome driver also fails to execute due to the alpine thing.
Hi guys,
I am not able to run instapy right now,
one of container (named instapy) exit with code 0 and i can't like or follow ...
Here is the docker logs of the container:
docker logs -f instapy
added actions to mongodb
Is this the right format to enter for comments with Emojis:
u'What an amazing shot! :heart_eyes: What do you think of my recent shot?
not sure how to test this without making a fool out of myself :)
When running multiple bots it would be great if the console output would only show the output of the selected bot. Currently it displays all outpus from all running bots in the same window.
hi, can i use this code in linux?
Is there a way to use Instapy-GUI without creating account on instapy.io? I don't mind running a web server to mimic instapy.io on my local machine.
Hi guys,
I am facing an issue while running docker-compose.
While running docker-compose up, the last message received:"instapy exited with code 1" with the error message on the browser on http://localhost - ERR_CONNECTION_REFUSED
Thank you,
Xavier
CRITICAL [2020-05-19 18:12:27] [s2338856] Unable to login to Instagram! You will find more information in the logs above.
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
INFO [2020-05-19 18:12:29] [s2338856] Sessional Live Report:
|> No any statistics to show
[Session lasted 57.93 seconds]
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
INFO [2020-05-19 18:12:31] [s2338856] Session ended!
ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
When i run docker-compose up
it hangs at downloading mongo:
insta-gui> docker-compose up
Pulling mongo (mongo:latest)...
latest: Pulling from library/mongo
9ff7e2e5f967: Downloading [=================================================> ] 43.38MB/43.77MB
59856638ac9f: Download complete
6f317d6d954b: Download complete
a9dde5e2a643: Download complete
815c6aedc001: Download complete
8566b2594855: Download complete
01c9fe451980: Download complete
5c9e7bc12cea: Download complete
c64dd2c4159a: Download complete
c283cca25ace: Download complete
051b3304da4a: Download complete
ab4327c34933: Download complete
80003bc32b79: Download complete
Here is docker version output;
> docker version
Client:
Version: 18.03.0-ce
API version: 1.37
Go version: go1.9.4
Git commit: 0520e24302
Built: Fri Mar 23 08:31:36 2018
OS/Arch: windows/amd64
Experimental: false
Orchestrator: swarm
Server: Docker Engine - Community
Engine:
Version: 18.09.5
API version: 1.39 (minimum version 1.12)
Go version: go1.10.8
Git commit: e8ff056dbc
Built: Thu Apr 11 04:50:00 2019
OS/Arch: linux/amd64
Experimental: false
Docker-compose version oputput:
> docker version
Client:
Version: 18.03.0-ce
API version: 1.37
Go version: go1.9.4
Git commit: 0520e24302
Built: Fri Mar 23 08:31:36 2018
OS/Arch: windows/amd64
Experimental: false
Orchestrator: swarm
Server: Docker Engine - Community
Engine:
Version: 18.09.5
API version: 1.39 (minimum version 1.12)
Go version: go1.10.8
Git commit: e8ff056dbc
Built: Thu Apr 11 04:50:00 2019
OS/Arch: linux/amd64
Experimental: false
Constantly getting "wrong login data" error after using multiple different instagram profiles.
On my Instagram app I also get "suspicious login attempt" where I need to verify it was me who tried to login.
Any advice?
Hey man,
in other to run /services/actions
there are python requirements to install. One of them it's https://github.com/timgrossmann/InstaPy/zipball/gui-features, however it's not working anymore.
Is there an alternative to initialize the db? Can i find the content of this url somewhere else?
Building webserver
Step 1/4 : FROM nginx:stable-alpine
---> ef04b00b089d
Step 2/4 : COPY conf/nginx.conf /etc/nginx/conf.d/default.conf
---> Using cache
---> a207a84ce123
Step 3/4 : COPY dist /usr/share/nginx/html
ERROR: Service 'webserver' failed to build: COPY failed: stat /var/lib/docker/tmp/docker-builder889649025/dist: no such file or directory
Can't execute 'docker-compose up'
Hi,
As the title says, I'm getting error no module dotenv.
I've tried python3 -m pip install python-dotenv, and even though it installed ok, I still get the error when I run startClient.sh?
Thanks
Hi
I can't get over the following error:
Traceback (most recent call last):
File "bot.py", line 125, in <module>
session = InstaPy(**instapy_args)
File "/root/tmp/env/lib/python3.7/site-packages/instapy/instapy.py", line 319, in __init__
self.logger,
File "/root/tmp/env/lib/python3.7/site-packages/instapy/browser.py", line 114, in set_selenium_local_session
options=firefox_options,
File "/root/tmp/env/lib/python3.7/site-packages/selenium/webdriver/firefox/webdriver.py", line 164, in __init__
self.service.start()
File "/root/tmp/env/lib/python3.7/site-packages/selenium/webdriver/common/service.py", line 76, in start
stdin=PIPE)
File "/usr/lib/python3.7/subprocess.py", line 775, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1522, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 8] Exec format error: '/root/tmp/assets/InstaPy/assets/geckodriver'
Steps to reproduce it:
Now the assets folder is created and the error occurs the first time.
This results in "instapy-chromedriver is not installed"
The problem still is there
Still it seems the startClient.sh tries to use the geckodriver.
Things I'm confused about is, I can't find instapy-chromedriver in ./env/lib/python3.7/site-packages/ due to the fact, that I used the --user flag
Hola, tengo este error en una instalación limpia:
goto instapy.io and take off!
received message: {"handler":"status"}
received message: {"handler":"start","namespace":"gary","setting":"configuracion-basica"}
instapy process started
received message: {"handler":"status"}
.. .. .. .. .. .. .. .. .. .. .. .. ..
Custom workspace set: "C:/WINDOWS/system32/assets/InstaPy" :]
InstaPy Version: 0.6.7
.. .. .. .. .. .. .. .. .. .. ..
Workspace in use: "C:/WINDOWS/system32/assets/InstaPy"
Error, unable to determine correct filename for Nonebit win
Traceback (most recent call last):
File "bot.py", line 125, in
session = InstaPy(**instapy_args)
File "C:\WINDOWS\system32\env\lib\site-packages\instapy\instapy.py", line 309, in init
self.browser, err_msg = set_selenium_local_session(
File "C:\WINDOWS\system32\env\lib\site-packages\instapy\browser.py", line 110, in set_selenium_local_session
driver_path = geckodriver_path or get_geckodriver()
File "C:\WINDOWS\system32\env\lib\site-packages\instapy\browser.py", line 36, in get_geckodriver
bin_path, sym_path = gdd.download_and_install()
File "C:\WINDOWS\system32\env\lib\site-packages\webdriverdownloader\webdriverdownloader.py", line 174, in download_and_install
filename_with_path = self.download(version,
File "C:\WINDOWS\system32\env\lib\site-packages\webdriverdownloader\webdriverdownloader.py", line 129, in download
download_url = self.get_download_url(version, os_name=os_name, bitness=bitness)
File "C:\WINDOWS\system32\env\lib\site-packages\webdriverdownloader\webdriverdownloader.py", line 324, in get_download_url
raise RuntimeError(info_message)
RuntimeError: Error, unable to determine correct filename for Nonebit win
why it's still looking for Chrome Drive?
I've been debuging on this for days. I managed to setup anything, however there is still on problem left I'm not able to solve.
Once clicked onto the start button in the /start
page (after selecting all the proper information) the front-end sends two messages to the instapy container, one with the start request and the other with the status request.
Both requests reaches the on_message()
func in /service/instapy/main.py
but only the status one gets forwarded to the proper handling function. The start request reaches the line 40 HANDLERS[data['handler']](ws, data)
but the function start
is not being called.
After debuging it looks like both data['handler']
and HANDLERS[data['handler']]
have correct values. The execution just terminates at that line without calling the start function and without even continue the execution (line 41 etc.)
Have you ever experienced this issue?
I have download and installed as reported on the guide.
After python start.py
I get:
authenticate ***** to https://auth.instapy.io/login ...
logged in with user: *****
error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)
closed socket
I'm running it in virutalenv with ptyhon3
python --version
Python 3.6.9
pip freeze
beautifulsoup4==4.9.1
certifi==2020.4.5.2
cffi==1.14.0
chardet==3.0.4
clarifai==2.6.2
configparser==3.8.1
cryptography==2.9.2
decorator==4.4.2
EasyProcess==0.3
emoji==0.5.4
future==0.18.2
googleapis-common-protos==1.52.0
grpcio==1.29.0
idna==2.9
instapy==0.6.8
jsonschema==2.6.0
MeaningCloud-python==1.2.2
pkg-resources==0.0.0
plyer==1.4.3
protobuf==3.12.2
pycparser==2.20
python-dotenv==0.13.0
python-telegram-bot==12.7
PyVirtualDisplay==1.3.2
PyYAML==5.3.1
regex==2020.6.8
requests==2.23.0
selenium==3.141.0
six==1.15.0
soupsieve==2.0.1
tornado==6.0.4
tqdm==4.46.1
urllib3==1.25.9
webdriverdownloader==1.1.0.3
websocket-client==0.57.0
Something is wrong in set_quota_supervisor
Traceback (most recent call last):
File "bot.py", line 136, in <module>
getattr(session, job['functionName'])(**arguments)
File "/home/pi/InstaPyGUI/env/lib/python3.7/site-packages/instapy/instapy.py", line 4798, in set_quota_supervisor
peaks = {"likes": {"hourly": peak_likes[0],
NameError: name 'peak_likes' is not defined
When trying to run startClient.sh on a new machine, I always get the following output:
authenticate {username} to {url} ...
logged in with user: {username}
opened socket
goto instapy.io and take off!
received message: {"error":"Error validating token!"}
error: Connection is already closed.
closed socket
And then, it repeats starting from opened socket
Is anybody able to help me on this one?
I'm trying to run the bot with more than one account but didn't find how to do this. Can anybody help-me?
Thanks for your work and upgrade to 0.6
I got a new error when trying to start the bot via the gui.
__init__() got an unexpected keyword argument 'browser_binary_path'
Firefox is installed.
Thanks in advance :)
Ignore.
..........................................................................
INFO [2019-08-26 15:59:16] [jamilecastilhomakeup] Logged in successfully!
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
INFO [2019-08-26 15:59:17] [jamilecastilhomakeup] Saving account progress...
INFO [2019-08-26 15:59:24] [jamilecastilhomakeup] Tag [1/1]
INFO [2019-08-26 15:59:25] [jamilecastilhomakeup] --> b'maquiagem'
INFO [2019-08-26 15:59:43] [jamilecastilhomakeup] desired amount: 45 | top posts [disabled]: 9 | possible posts: 14167547
INFO [2019-08-26 16:00:04] [jamilecastilhomakeup] Like# [1/45]
INFO [2019-08-26 16:00:05] [jamilecastilhomakeup] https://www.instagram.com/p/B1m5zDpJW_H/
INFO [2019-08-26 16:00:12] [jamilecastilhomakeup] Sessional Live Report:
|> No any statistics to show
On session start was FOLLOWING 474 users & had 438 FOLLOWERS
[Session lasted 1.84 minutes]
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
INFO [2019-08-26 16:00:13] [jamilecastilhomakeup] Session ended!
ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
Traceback (most recent call last):
File "bot.py", line 143, in
getattr(session, job['functionName'])(**arguments)
File "C:\Users\Lucas\Desktop\instapygui\env\lib\site-packages\instapy\instapy.py", line 1908, in like_by_tags
self.logger)
File "C:\Users\Lucas\Desktop\instapygui\env\lib\site-packages\instapy\like_util.py", line 590, in check_link
media = post_page[0]['media']
KeyError: 'media'
Doesn't work on my Chromium browser. ⌘R on any page, and it gives me the 404 page.
Otherwise good work, Felix.
Hi guys - i was using the auth-service branch and here is some feedback:
Interface (gui.instapy.io):
Client:
`
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
INFO [2019-07-03 10:35:05] [] Session started!
oooooooooooooooooooooooooooooooooooooooooooooooooooooo
[0703/103521.521:INFO:CONSOLE(0)] "The resource https://www.instagram.com/graphql/query/?query_hash=xxx&variables=%7B%22fetch_media_count%22%3A0%2C%22fetch_suggested_count%22%3A30%2C%22ignore_cache%22%3Atrue%2C%22filter_followed_friends%22%3Atrue%2C%22seen_ids%22%3A%5B%5D%2C%22include_reel%22%3Atrue%7D was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate as
value and it is preloaded intentionally.", source: (0)
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
INFO [2019-07-03 10:35:53] [] Session ended!
oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
Traceback (most recent call last):
File "bot.py", line 158, in
getattr(session, job['functionName'])(**arguments)
File "C:\Users\username\Documents_Privat\services\env\lib\site-packages\instapy\instapy.py", line 1780, in like_by_tags
tags = [tag.strip() for tag in tags]
TypeError: 'NoneType' object is not iterable
`
Hello everybody
I'm trying to install it on raspberry but I'm stuck on setup script:
Building wheels for collected packages: instapy
Running setup.py bdist_wheel for instapy ... error
Complete output from command /home/pi/dev/instapy/env/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-529ydjpt-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpven86igwpip-wheel- --python-tag cp35:
/usr/lib/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'long_description_content_type'
warnings.warn(msg)
/usr/lib/python3.5/distutils/dist.py:261: UserWarning: Unknown distribution option: 'project_urls'
warnings.warn(msg)
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: invalid command 'bdist_wheel'
----------------------------------------
Failed building wheel for instapy
Running setup.py clean for instapy
Failed to build instapy
After that seems to run with no problem but when I run bash startClient.sh
I have this error:
File "start.py", line 65
print(f'authenticate {username} to {url} ...')
^
SyntaxError: invalid syntax
is related? any hint?
Back with another bug?
When trying to edit settings via the gui (e.g quota supervisor) hitting the save button doesn't do anything in my case.
The old settings always get restored.
So first of all, thanks for this awesome project! :)
As you might have noticed lately, ig seems to block headless browsers after a while... So I tried to set headless_browser = False
in start.py
but get this error :
Message: unknown error: Chrome failed to start: exited abnormally (unknown error: DevToolsActivePort file doesn't exist) (The process started from chrome location /usr/lib/chromium/chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.) (Driver info: chromedriver=73.0.3683.103,platform=Linux 4.9.125-linuxkit x86_64) Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/instapy/browser.py", line 147, in set_selenium_local_session chrome_options=chrome_options) File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/chrome/webdriver.py", line 81, in __init__ desired_capabilities=desired_capabilities) File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 157, in __init__ self.start_session(capabilities, browser_profile) File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session response = self.execute(Command.NEW_SESSION, parameters) File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute self.error_handler.check_response(response) File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally (unknown error: DevToolsActivePort file doesn't exist) (The process started from chrome location /usr/lib/chromium/chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.) (Driver info: chromedriver=73.0.3683.103,platform=Linux 4.9.125-linuxkit x86_64)
I noticed you're not using the instapy-chromedriver, could that be the reason?
INFO [2019-07-25 20:46:29] Sessional Live Report: |> No any statistics to show On session start was FOLLOWING 424 users & had 71 FOLLOWERS [Session lasted 1.25 minutes]
INFO [2019-07-25 20:46:31] Session ended!
Hello,
I was wondering what should I use to don't get blocked in the Instagram browser. After the script has been executed and stopped I can't use my Instagram on the browser, only on the mobile phone. It always gives the error that I can't do the action at the moment and to try later on. I can't access messages, like, post, anything.
Is it because of the IP? How long will I have to wait?
Furthermore, Shall I use the quota supervisor? Does it helps?
Looking forward to hear from you, many thanks!
Hej everyone,
First of all congrats for the amazing project. I've been using for a few weeks and it is great! I will surely support it in the near future.
Now to the suggestion, I would be great to duplicate an action already configured in the template. That would make a lot easier the template creation.
Thanks anyways!
Hey Felix,
is there a way to schedule the execution of scripts? How would I automate it for daily execution? I don't want to click run every day :)
Also how would I handle multiple instances? Do I need a virtual environment and login on instapy.io for each instance?
How about a way of exporting and importing templates? It's pretty tedious setting everything up if you use multiple parameters. Also the tags, comments etc. field won't let me paste multiple entries at once. Is there a trick?
Thanks again for the great work put into this!
After trying to start the bot via the GUI I get the following error in console:
__init__() got an unexpected keyword argument 'bypass_suspicious_attempt
This might be because the argument should no longer be passed to the InstaPy constructor?
I'm on RPI2, raspbian, old instapy installation on python3 disabled at the moment:
pi@raspberrypi:~ $ bash startClient.sh
File "start.py", line 64
print(f'authenticate {username} to {url} ...')
^
SyntaxError: invalid syntax
pi@raspberrypi:~ $
what about this error?
Hey Felix,
somehow on one of my accounts the log outputs: -------- WARNING! Image was NOT liked! You are have a BLOCK on likes!
Checking the image it's really not liked.
The thing is if I manually like it works both browser and app.
Not sure if this is the right place or if I should post at instapy directly.
Cheers
What should I do?
Traceback (most recent call last):
File "start.py", line 175, in
TOKEN = get_token(username, password)
File "start.py", line 64, in get_token
print(f,"authenticate {username} to {url} ...")
NameError: global name 'f' is not defined
Hello @breuerfelix
InstaPy GUI has helped me alot for building Instagram profils, but I can't figure out how to deactivate skipping private accounts. As in my country lots of users prefer to stay private than have public profils. I know it's a command session.set_skip_users(skip_private=False , as I read in the @timgrossmann documentation but I can't seem to find it on the GUI, is there any files I need to edit on my Mac ?
I appreciate the help in advance. Thank you!
Hi, I tried running the container both on linux and windows, I always get
ooooooooooooooooooooooooooo
INFO [2020-07-21 21:44:23] [instapy] Session started!
INFO [2020-07-21 21:44:23] [instapy] -- Connection Checklist [1/3] (Internet Connection Status)
WARNING [2020-07-21 21:44:51] [instapy] - Internet Connection Status: error
WARNING [2020-07-21 21:44:51] [instapy] - Internet Connection Status: error
CRITICAL [2020-07-21 21:44:51] [instapy] Unable to login to Instagram! You will find more information in the logs above.
I do have other containers that connect to the internet just fine.
I've found this message to be sometimes related to the script itself, however it is a bit tricky to edit it if container shuts down immediately. Any thoughts on how to address this?
Hi,
Since "Isitdownoritsjustme" is also down, GUI cant get to Instagram. How do we go around this?
or how to set want_check_browser parameter in GUI?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.