Giter Site home page Giter Site logo

instapy / instapy-docker Goto Github PK

View Code? Open in Web Editor NEW
186.0 20.0 81.0 92 KB

🐳 Docker config and documentation for running InstaPy with Docker

License: GNU General Public License v3.0

Dockerfile 32.37% Shell 13.71% Python 53.91%
instapy docker setup documentation docker-compose

instapy-docker's Introduction

InstaPy

Tooling that automates your social media interactions to “farm” Likes, Comments, and Followers on Instagram Implemented in Python using the Selenium module.

Twitter of InstaPy | Discord ChannelHow it works (FreeCodingCamp) |
Talk about automating your Instagram | Talk about doing Open-Source workListen to the "Talk Python to me"-Episode

Newsletter: Sign Up for the Newsletter here!
Guide to Bot Creation: Learn to Build your own Bots


Find the full documentation in Docs

Table of contents


Credits

Community

An active and supportive community is what every open-source project needs to sustain. Together we reached every continent and most of the countries in the world!
Thank you all for being part of the InstaPy community ✌️

InstaPy reach

Contributors

This project exists thanks to all the people who contribute. [Contribute].

Backers

Thank you to all our backers! 🙏 [Become a backer]


Disclaimer: Please note that this is a research project. I am by no means responsible for any usage of this tool. Use it on your behalf. I'm also not responsible if your accounts get banned due to the extensive use of this tool.

instapy-docker's People

Contributors

aviadhahami avatar bayi avatar brammittendorff avatar breuerfelix avatar darox avatar dennisvandalen avatar dependabot-preview[bot] avatar elulcao avatar funkypenguin avatar herrox avatar timgrossmann avatar

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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

instapy-docker's Issues

Your .dependabot/config.yml contained invalid details

Dependabot encountered the following error when parsing your .dependabot/config.yml:

The property '#/' contains additional properties ["automerged_updates"] outside of the schema when none are allowed

Please update the config file to conform with Dependabot's specification.

You can mention @dependabot in the comments below to contact the Dependabot team.

Your .dependabot/config.yml contained invalid details

Dependabot encountered the following error when parsing your .dependabot/config.yml:

The property '#/update_configs/0/automerged_updates/0' contains additional properties ["update_type"] outside of the schema when none are allowed
The property '#/update_configs/0/automerged_updates/0/match' of type null did not match the following type: object

Please update the config file to conform with Dependabot's specification.

You can mention @dependabot in the comments below to contact the Dependabot team.

starting errors

File "/usr/local/lib/python3.7/site-packages/urllib3/util/retry.py", line 436, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=59163): Max retries exceeded with url: /session/19cbd4b1-3c0c-4d4d-bb9b-94bdd0268191/execute/sync (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f3dc641cc10>: Failed to establish a new connection: [Errno 111] Connection refused'))

hi, for some reason i keep getting this error how do i solve this? thank you

Connection Problem

Traceback (most recent call last):

File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 157, in _new_conn

(self._dns_host, self.port), self.timeout, **extra_kw

File "/usr/local/lib/python3.7/site-packages/urllib3/util/connection.py", line 84, in create_connection

raise err

File "/usr/local/lib/python3.7/site-packages/urllib3/util/connection.py", line 74, in create_connection

sock.connect(sa)

ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 672, in urlopen

chunked=chunked,

File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 387, in _make_request

conn.request(method, url, **httplib_request_kw)

File "/usr/local/lib/python3.7/http/client.py", line 1252, in request

self._send_request(method, url, body, headers, encode_chunked)

File "/usr/local/lib/python3.7/http/client.py", line 1298, in _send_request

self.endheaders(body, encode_chunked=encode_chunked)

File "/usr/local/lib/python3.7/http/client.py", line 1247, in endheaders

self._send_output(message_body, encode_chunked=encode_chunked)

File "/usr/local/lib/python3.7/http/client.py", line 1026, in _send_output

self.send(msg)

File "/usr/local/lib/python3.7/http/client.py", line 966, in send

self.connect()

File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 184, in connect

conn = self._new_conn()

File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 169, in _new_conn

self, "Failed to establish a new connection: %s" % e

urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f679971f8d0>: Failed to establish a new connection: [Errno 111] Connection refused

File "docker_quickstart.py", line 23, in

amount=random.randint(50, 100), interact=True)

File "/usr/local/lib/python3.7/site-packages/instapy/instapy.py", line 1896, in like_by_tags

self.logger,

File "/usr/local/lib/python3.7/site-packages/instapy/like_util.py", line 258, in get_links_for_tag

web_address_navigator(browser, tag_link)

File "/usr/local/lib/python3.7/site-packages/instapy/util.py", line 1164, in web_address_navigator

current_url = get_current_url(browser)

File "/usr/local/lib/python3.7/site-packages/instapy/util.py", line 1720, in get_current_url

current_url = browser.execute_script("return window.location.href")

File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 636, in execute_script

'args': converted_args})['value']

File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 319, in execute

response = self.command_executor.execute(driver_command, params)

File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/remote_connection.py", line 374, in execute

return self._request(command_info[0], url, body=data)

File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/remote_connection.py", line 397, in _request

resp = self._conn.request(method, url, body=body, headers=headers)

File "/usr/local/lib/python3.7/site-packages/urllib3/request.py", line 80, in request

method, url, fields=fields, headers=headers, **urlopen_kw

File "/usr/local/lib/python3.7/site-packages/urllib3/request.py", line 171, in request_encode_body

return self.urlopen(method, url, **extra_kw)

File "/usr/local/lib/python3.7/site-packages/urllib3/poolmanager.py", line 330, in urlopen

response = conn.urlopen(method, u.request_uri, **kw)

File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 760, in urlopen

**response_kw

File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 720, in urlopen

method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]

File "/usr/local/lib/python3.7/site-packages/urllib3/util/retry.py", line 436, in increment

raise MaxRetryError(_pool, url, error or ResponseError(cause))

urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=57257): Max retries exceeded with url: /session/ca2d485c-a077-4b0d-8b86-5daa10744ce2/execute/sync (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f679971f8d0>: Failed to establish a new connection: [Errno 111] Connection refused'))

I keep getting this error can somebody tell me what could be the reason ?

Missing Selenium container, is it intended?

Hello o/

I'm longer user of InstaPy with docker, recently migrating to use this repo to keep up to date with the project.

When I first tried, with docker-compose, I got the error that not encountered selenium, so I fixed cloning this repo.

The question is it intended to not have selenium on docker-compose?

When someone try this official repo, will not figure to use selenium. Should adds this info to readme?

When starting the docker container __main__ missing.

When starting the docker container on ubuntu it is giving the error that it cannot find the main module:

$ docker logs instapy
/usr/local/bin/python: can't find 'main' module in 'docker_quickstart.py'

already reinstalled ubuntu & docker, command that I use:

sudo docker pull instapy/instapy && docker run --name instapy -v docker_quickstart.py:/code/docker_quickstart.py -v InstaPy/instapy:/code/InstaPy -d instapy/instapy

instead of:

sudo docker pull instapy/instapy && docker run --name instapy -v docker_quickstart.py:/code/docker_quickstart.py -v InstaPy:/code/InstaPy -d instapy

when I use this one it trows error:

Unable to find image 'instapy:latest' locally
docker: Error response from daemon: pull access denied for instapy, repository does not exist or may require 'docker login'.

[Errno 2] No such file or directory

I got following error

web_1  | INFO [2020-01-27 03:34:39] []  Session started!
web_1  | INFO [2020-01-27 03:34:40] []  -- Connection Checklist [1/3] (Internet Connection Status)
web_1  | WARNING [2020-01-27 03:34:40] []  - Internet Connection Status: error
web_1  | CRITICAL [2020-01-27 03:34:40] []  Unable to login to Instagram! You will find more information in the logs above.
web_1  | INFO [2020-01-27 03:34:43] []  Sessional Live Report:
web_1  |        |> No any statistics to show
web_1  | 
web_1  | 
web_1  | [Session lasted 11.0 seconds]
web_1  | INFO [2020-01-27 03:34:43] []  Session ended!
web_1  | INFO [2020-01-27 03:34:43] []  Sessional Live Report:
web_1  |        |> No any statistics to show
web_1  | 
web_1  | 
web_1  | [Session lasted 11.01 seconds]
web_1  | INFO [2020-01-27 03:34:43] []  Session ended!
web_1  | InstaPy Version: 0.6.7
web_1  |  ._.  ._.  ._.  ._.  ._.  ._.  ._. 
web_1  | Workspace in use: "/code/InstaPy"
web_1  | OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
web_1  | oooooooooooooooooooooooooooooooooooooooooooooooooooooo
web_1  | ..........................................................................................................................
web_1  | ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
web_1  | 
web_1  | OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
web_1  | ooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
web_1  | 
web_1  | 
web_1  | 
web_1  | [Errno 2] No such file or directory: '/tmp/tmpjeb3e31f'
web_1  | 
web_1  | OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
web_1  | ooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
web_1  | 
web_1  | 
web_1  | 

Running docker with "nogui" gives "No such file or directory: 'Xvfb': 'Xvfb'"

Expected Behavior

Instapy should run quickstart script in docker.

Current Behavior

I dont know if this problem is related directly to Instapy or is a docker issue. I tried running InstaPy in docker as described here. I am running with headless_browser=True. It gives me this error:

Traceback (most recent call last):
  File "docker_quickstart.py", line 25, in <module>
    nogui=True)
  File "/usr/local/lib/python3.7/site-packages/instapy/instapy.py", line 140, in __init__
    self.display = Display(visible=0, size=(800, 600))
  File "/usr/local/lib/python3.7/site-packages/pyvirtualdisplay/display.py", line 34, in __init__
    self._obj = self.display_class(
  File "/usr/local/lib/python3.7/site-packages/pyvirtualdisplay/display.py", line 53, in display_class
    cls.check_installed()
  File "/usr/local/lib/python3.7/site-packages/pyvirtualdisplay/xvfb.py", line 40, in check_installed
    ubuntu_package=PACKAGE).check_installed()
  File "/usr/local/lib/python3.7/site-packages/easyprocess/__init__.py", line 182, in check_installed
    raise EasyProcessCheckInstalledError(self)
easyprocess.EasyProcessCheckInstalledError: cmd=['Xvfb', '-help']
OSError=[Errno 2] No such file or directory: 'Xvfb': 'Xvfb'
Program install error! 

Program then runs the session. Everything passes, except window.navigator.webdriver response is false.

Possible Solution (optional)

InstaPy configuration

(i am using default quickstart script)

bot = InstaPy(username=insta_username, password=insta_password, headless_browser=True)
with smart_run(bot):
    bot.set_relationship_bounds(enabled=True,
                                potency_ratio=-1.21,
                                delimit_by_numbers=True,
                                max_followers=4590,
                                max_following=5555,
                                min_followers=45,
                                min_following=77)
    bot.set_do_comment(True, percentage=10)
    bot.set_comments(['Cool!', 'Awesome!', 'Nice!'])
    bot.set_dont_include(friend_list)
    bot.set_dont_like(dont_like)
    bot.set_ignore_if_contains(ignore_words)
    bot.like_by_tags(['dog', '#cat'], amount=100)
    bot.end()

Thanks for your help

[Errno 38] Function not implemented: '/code'

Hello,

I'm getting the following error when I follow the docker-compose guide.

File "docker_quickstart.py", line 1, in <module>
from instapy import InstaPy
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 963, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 906, in _find_spec
File "<frozen importlib._bootstrap_external>", line 1280, in find_spec
File "<frozen importlib._bootstrap_external>", line 1252, in _get_spec
File "<frozen importlib._bootstrap_external>", line 1368, in find_spec
File "<frozen importlib._bootstrap_external>", line 1408, in _fill_cache
OSError: [Errno 38] Function not implemented: '/code'

for reference, her is my docker_quickstart.py file:

from instapy import InstaPy
from instapy.util import smart_run

# Write your automation here
# Stuck? Look at the github page https://github.com/InstaPy/instapy-quickstart

insta_username = "<redacted>"
insta_password = "<redacted>"

dont_like = ["food", "girl", "hot"] #placeholder. will not use this variable
ignore_words = ["pizza"] #placeholder. will not use this variable
friend_list = ["friend1", "friend2", "friend3"] #placeholder. will not use this variable

# If you want to enter your Instagram Credentials directly just enter
# username=<your-username-here> and password=<your-password> into InstaPy
# e.g like so InstaPy(username="instagram", password="test1234")

bot = InstaPy(username=insta_username, password=insta_password, headless_browser=True)
with smart_run(bot):
    bot.set_relationship_bounds(
        enabled=True,
        potency_ratio=-1.21,
        delimit_by_numbers=True,
        max_followers=4590,
        max_following=5555,
        min_followers=45,
        min_following=77,
    )
    #Comment Section
    bot.set_do_comment(True, percentage=10)
    bot.set_comments(["Cool!", "Awesome!", "Nice!"])
    # bot.set_dont_include(friend_list)
    # bot.set_dont_like(dont_like)
    # bot.set_ignore_if_contains(ignore_words)

    #like section
    bot.like_by_tags(["dog", "#cat"], amount=100)
    bot.end()

I'm running this out of a locally sync'd G: drive (google drive). I know that running the cd command to get there was a little more complicated than navigating to my C: drive (I had to first run G:) but the code volume is a relative reference like the below, so I assume it would know where to point.

    volumes:
      - ./:/code

Any ideas? Do I need an absolute reference to the volume?

For reference, I'm running on windows 10; OS build 19042.867

Docker-compose problem WebDriverException

insta_web | InstaPy Version: 0.6.6
insta_web |  ._.  ._.  ._.  ._.  ._.  ._.  ._. 
insta_web | Workspace in use: "/code/InstaPy"
insta_web | Traceback (most recent call last):
insta_web |   File "docker_quickstart.py", line 38, in <module>
insta_web |     MainProcess().start()
insta_web |   File "docker_quickstart.py", line 27, in start
insta_web |     session = InstaPy(username='', password='')
insta_web |   File "/usr/local/lib/python3.7/site-packages/instapy/instapy.py", line 319, in __init__
insta_web |     self.logger,
insta_web |   File "/usr/local/lib/python3.7/site-packages/instapy/browser.py", line 114, in set_selenium_local_session
insta_web |     options=firefox_options,
insta_web |   File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/firefox/webdriver.py", line 174, in __init__
insta_web |     keep_alive=True)
insta_web |   File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 157, in __init__
insta_web |     self.start_session(capabilities, browser_profile)
insta_web |   File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session
insta_web |     response = self.execute(Command.NEW_SESSION, parameters)
insta_web |   File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
insta_web |     self.error_handler.check_response(response)
insta_web |   File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
insta_web |     raise exception_class(message, screen, stacktrace)
insta_web | selenium.common.exceptions.WebDriverException: Message: invalid argument: can't kill an exited process

Instagram detected an unusual login attempt

I previously used Instapy with success and to avoid managing dependencies I pulled your docker image but seems I'm having problems with authentication.

Every time I run the container I get the following error:

Cookie file not found, creating cookie...
Instagram detected an unusual login attempt
A security code was sent to your Email: z*******[email protected]
INFO [2019-08-08 11:12:22] [username]  Sessional Live Report:
	|> No any statistics to show


[Session lasted 51.81 seconds]
INFO [2019-08-08 11:12:22] [username]  Session ended!
Type the security code here:  INFO [2019-08-08 11:16:44] [username]  Sessional Live Report:
	|> No any statistics to show


[Session lasted 51.1 seconds]
INFO [2019-08-08 11:16:44] [username]  Session ended!


OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
oooooooooooooooooooooooooooooooooooooooooooooooooooooo



Traceback (most recent call last):
  File "docker_quickstart.py", line 17, in <module>
    with smart_run(session):
  File "/usr/local/lib/python3.7/contextlib.py", line 112, in __enter__
    return next(self.gen)
  File "/usr/local/lib/python3.7/site-packages/instapy/util.py", line 1691, in smart_run
    session.login()
  File "/usr/local/lib/python3.7/site-packages/instapy/instapy.py", line 414, in login
    self.bypass_with_mobile):
  File "/usr/local/lib/python3.7/site-packages/instapy/login_util.py", line 337, in login_user
    bypass_suspicious_login(browser, bypass_with_mobile)
  File "/usr/local/lib/python3.7/site-packages/instapy/login_util.py", line 113, in bypass_suspicious_login
    security_code = input('Type the security code here: ')
EOFError: EOF when reading a line

So the docker container seems to be dying once the prompt for the security code comes up.

Depfu Error: No dependency files found

Hello,

We've tried to activate or update your repository on Depfu and couldn't find any supported dependency files. If we were to guess, we would say that this is not actually a project Depfu supports and has probably been activated by error.

Monorepos

Please note that Depfu currently only searches for your dependency files in the root folder. We do support monorepos and non-root files, but don't auto-detect them. If that's the case with this repo, please send us a quick email with the folder you want Depfu to work on and we'll set it up right away!

How to deactivate the project

  • Go to the Settings page of either your own account or the organization you've used
  • Go to "Installed Integrations"
  • Click the "Configure" button on the Depfu integration
  • Remove this repo (InstaPy/instapy-docker) from the list of accessible repos.

Please note that using the "All Repositories" setting doesn't make a lot of sense with Depfu.

If you think that this is a mistake

Please let us know by sending an email to [email protected].


This is an automated issue by Depfu. You're getting it because someone configured Depfu to automatically update dependencies on this project.

Timed out with failure while explicitly waiting until title contains 'Login' string!

web_1 | INFO [2020-09-27 10:14:43] [freeze_francis] - Internet Connection Status: ok

web_1 | INFO [2020-09-27 10:14:43] [freeze_francis] - Current IP is "58.10.209.28" and it's from "Thailand/TH"

web_1 | INFO [2020-09-27 10:14:43] [freeze_francis] -- Connection Checklist [2/2] (Hide Selenium Extension)

web_1 | INFO [2020-09-27 10:14:43] [freeze_francis] - window.navigator.webdriver response: None

web_1 | INFO [2020-09-27 10:14:43] [freeze_francis] - Hide Selenium Extension: ok

web_1 | Cookie file not found, creating cookie...

web_1 | INFO [2020-09-27 10:15:24] [freeze_francis] Timed out with failure while explicitly waiting until title contains 'Login' string!

web_1 |

web_1 | ............................................................................................................................

web_1 | CRITICAL [2020-09-27 10:15:43] [freeze_francis] Unable to login to Instagram! You will find more information in the logs above.

Add CI/CD

I think you should add some CI/CD for this repository to build and push images. Take your pick from Travis CI, CircleCI, Azure Pipelines, etc. All are free for open source projects.

Normally I would choose Travis CI, but they were recently acquired, and laid off a large amount of their engineering staff. If you don't decide to go with them, they do have great documentation on Using Docker in Builds

cannot run on raspberry pi 4

When I'm hitting docker run instapy/instapy I get the following message.

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm/v7) and no specific platform was requested
standard_init_linux.go:219: exec user process caused: exec format error

is there anything to do about it?

Sorry, this page isn't available.

I run the code below :
from instapy import InstaPy InstaPy(username="my_username", password="my_password").login()

and I got:
INFO [2020-04-15 17:44:08] [Email] Workspace in use: "C:/Users/username/InstaPy" InstaPy Version: 0.6.8 ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. ._. INFO [2020-04-15 17:44:14] [Email] Session started! INFO [2020-04-15 17:44:14] [Email] -- Connection Checklist [1/3] (Internet Connection Status) OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO oooooooooooooooooooooooooooooooooooooooooooooooooooooo INFO [2020-04-15 17:44:16] [Email] - Internet Connection Status: ok INFO [2020-04-15 17:44:16] [Email] - Current IP is "2.147.121.209" and it's from "Iran/IR" INFO [2020-04-15 17:44:16] [Email] -- Connection Checklist [2/3] (Instagram Server Status) INFO [2020-04-15 17:44:46] [Email] - Instagram WebSite Status: Currently Up INFO [2020-04-15 17:44:46] [Email] - Instagram Response Time: 131.051 ms INFO [2020-04-15 17:44:46] [Email] - Instagram Reponse Code: 200 INFO [2020-04-15 17:44:46] [Email] - Instagram Server Status: ok INFO [2020-04-15 17:44:46] [Email] -- Connection Checklist [3/3] (Hide Selenium Extension) INFO [2020-04-15 17:44:46] [Email] - window.navigator.webdriver response: False INFO [2020-04-15 17:44:46] [Email] - Hide Selenium Extension: ok INFO [2020-04-15 17:45:01] [Email] Logged in successfully! INFO [2020-04-15 17:45:01] [Email] Saving account progress... ....................................................................................... ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' INFO [2020-04-15 17:45:55] [Email] Failed to get followers count of 'b'Email'' ~empty list INFO [2020-04-15 17:46:45] [Email] Failed to get following count of 'b'Email'' ~empty list WARNING [2020-04-15 17:46:45] [Email] Unable to save account progress, skipping data update Message: TypeError: window._sharedData is undefined

and in the firefox browser I got the following massage:
Sorry, this page isn't available.
The link you followed may be broken, or the page may have been removed. Go back to Instagram.

Any help to fix it?

unable to determine correct filename for 64bit linux

when docker-compose up

File "/usr/local/lib/python3.7/site-packages/webdriverdownloader/webdriverdownloader.py", line 324, in get_download_url
web_1 | raise RuntimeError(info_message)
web_1 | RuntimeError: Error, unable to determine correct filename for 64bit linux

Message: Process unexpectedly closed with status 11

Following the tutorial on starting up using docker-compose, and is getting the following error message

Attaching to instapy_web

web_1 | InstaPy Version: 0.6.13

web_1 | ._. ._. ._. ._. ._. ._. ._.

web_1 | Workspace in use: "/code/InstaPy"

web_1 | Traceback (most recent call last):

web_1 | File "docker_quickstart.py", line 19, in <module>

web_1 | password=insta_password, headless_browser=True)

web_1 | File "/usr/local/lib/python3.7/site-packages/instapy/instapy.py", line 338, in __init__

web_1 | geckodriver_log_level,

web_1 | File "/usr/local/lib/python3.7/site-packages/instapy/browser.py", line 127, in set_selenium_local_session

web_1 | options=firefox_options,

web_1 | File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/firefox/webdriver.py", line 174, in __init__

web_1 | keep_alive=True)

web_1 | File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 157, in __init__

web_1 | self.start_session(capabilities, browser_profile)

web_1 | File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session

web_1 | response = self.execute(Command.NEW_SESSION, parameters)

web_1 | File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute

web_1 | self.error_handler.check_response(response)

web_1 | File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response

web_1 | raise exception_class(message, screen, stacktrace)

web_1 | selenium.common.exceptions.WebDriverException: Message: Process unexpectedly closed with status 11

web_1 |

instapy_web exited with code 1

After I pull and run image I get this error

my command:
docker pull instapy/instapy &&
docker run --name instapy
-v /Users/Bertik/OfflineDocs/instapyFolder/instapy-docker/docker_quickstart.py:/code/docker_quickstart.py
-v /Users/Bertik/OfflineDocs/instapyFolder/instapy-docker/InstaPy:/code/InstaPy
-d instapy/instapy

Message I get:
python: can't open file 'docker_quickstart.py': [Errno 2] No such file or directory

RuntimeError: generator didn't yield

Hi we are trying to run instapy in docker with following command:
docker run --name instapy -v /Users/jurgenceramique/InstaPy/zwei.py:/code/docker_quickstart.py -v /Users/jurgenceramique/InstaWork:/code/InstaPy -d instapy/instapy:latest

zwei.py has following entries

imports

from instapy import InstaPy
from instapy import smart_run

login credentials

insta_username = ''
insta_password = '
**'

get an InstaPy bot!

set headless_browser=True to run InstaPy in the background

bot = InstaPy(username=insta_username,
password=insta_password,
headless_browser=True)

with smart_run(bot):
""" Activity flow """
# general settings
bot.set_relationship_bounds(enabled=True,
delimit_by_numbers=True,
max_followers=4590,
min_followers=40,
min_following=100)

bot.set_dont_include(["friend1", "friend2", "friend3"])
bot.set_dont_like(["pizza", "#store"])

# activities

""" Massive Follow of users followers (I suggest to follow not less than
3500/4000 users for better results)...
"""
bot.follow_user_followers(['helge_schneider_official', 'chailatte_roche', 'evimstore'], amount=4,
                              randomize=False, interact=False)

""" First step of Unfollow action - Unfollow not follower users...
"""
#bot.unfollow_users(amount=100, InstapyFollowed=(True, "nonfollowers"),
 #                      style="FIFO",
  #                     unfollow_after=1 * 60 * 60, sleep_delay=601)

we get following output from docker logs
2445kb [00:03, 698.04kb/s] ******
INFO [2020-10-22 19:22:55] [] Session started!
INFO [2020-10-22 19:22:55] [
] -- Connection Checklist [1/2] (Internet Connection Status)
INFO [2020-10-22 19:22:55] [] - Internet Connection Status: ok
INFO [2020-10-22 19:22:55] [
] - Current IP is "92.75.213.99" and it's from "Germany/DE"
INFO [2020-10-22 19:22:55] [] -- Connection Checklist [2/2] (Hide Selenium Extension)
INFO [2020-10-22 19:22:55] [
] - window.navigator.webdriver response: None
INFO [2020-10-22 19:22:55] [] - Hide Selenium Extension: ok
INFO [2020-10-22 19:23:39] [
] Timed out with failure while explicitly waiting until title contains 'Login' string!

INFO [2020-10-22 19:24:17] [******] Timed out with failure while explicitly waiting until visibility of element located!

INFO [2020-10-22 19:24:23] [******] Sessional Live Report:
|> No any statistics to show

[Session lasted 1.63 minutes]
INFO [2020-10-22 19:24:23] [******] Session ended!
InstaPy Version: 0.6.11
.. .. .. .. .. .. ._.
Workspace in use: "/root/InstaPy"
OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
oooooooooooooooooooooooooooooooooooooooooooooooooooooo
Cookie file not found, creating cookie...


If raising an issue, please also upload the file located at:
/tmp/20201022-192422.html


OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo

Traceback (most recent call last):
File "docker_quickstart.py", line 32, in
with smart_run(bot):
File "/usr/local/lib/python3.7/contextlib.py", line 114, in enter
raise RuntimeError("generator didn't yield") from None
RuntimeError: generator didn't yield

Ive try run it on a stack but "__main__" module can´t be found

When I try run the docker compose version, its return this error

"/usr/local/bin/python: can't find 'main' module in 'docker_quickstart.py'"

did some thing wrong on this stack:

instapy:
image: instapy/instapy:latest
container_name: instapy
environment:
- PYTHONUNBUFFERED=0
- INSTAPY_WORKSPACE=/code/InstaPy
volumes:
- instapy:/code/

[enhancement] log folder

about a year ago I played around with a dockerized instapy version myself and implemented a way to get the logs and a persistent folder for my account on my docker host

this was very helpful but I'm not clever enough to write code, make pull requests or whatever

I would be very glad if you could take a look at my Dockerfile https://hub.docker.com/r/greyslater/instapy/dockerfile

and tell me your opinion about the code lines

sed -i -e "s/log_location.*/log_location = os.path.join(BASE_DIR, 'persistent', 'logs')/" \ -e "s/database_location.*/database_location = os.path.join(BASE_DIR, 'persistent', 'db', 'instapy.db')/" InstaPy/instapy/settings.py \

Thank you

Unable to save account progess

ERROR [2019-07-01 19:21:57] [Email] Error occurred while generating a user list from the followed pool! | stdout
b"[Errno 2] No such file or directory: '/code/logs/Email/Email_followedPool.csv'" | stdout
WARNING [2019-07-01 19:22:50] [Email] Unable to find the count of users followed ~leaving unfollow feature | stdout
WARNING [2019-07-01 19:21:46] [Email] Unable to save account progress, skipping data update | stdout

I get these errors. Any help to fix it?

Latest Code, Alpine Linux Running Docker "Error occurred while deleting cookies from web browser"

My steps

  • setup Alpine 3.10
  • git clone the repo
  • cd docker_compose
  • create docker_quickstart.py with confirmed working username/password
  • docker-compose up
  • Then receive the following error, any suggestions?

Tried this: https://github.com/timgrossmann/InstaPy/issues/4166

And realized NOT using chromedriver now but geckodriver/firefox.

Attaching to happyinsta_web
�[36mweb_1 |�[0m INFO [2020-01-15 09:34:00] [happyinsta] Session started!
�[36mweb_1 |�[0m INFO [2020-01-15 09:34:00] [happyinsta] -- Connection Checklist [1/3] (Internet Connection Status)
�[36mweb_1 |�[0m WARNING [2020-01-15 09:34:35] [happyinsta] - Internet Connection Status: error
�[36mweb_1 |�[0m ERROR [2020-01-15 09:34:35] [happyinsta] Error occurred while deleting cookies from web browser!
�[36mweb_1 |�[0m b'Message: Tried to run command without establishing a connection\n'
�[36mweb_1 |�[0m Traceback (most recent call last):
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/site-packages/instapy/login_util.py", line 168, in check_browser
�[36mweb_1 |�[0m pre = browser.find_element_by_tag_name("pre").text
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 530, in find_element_by_tag_name
�[36mweb_1 |�[0m return self.find_element(by=By.TAG_NAME, value=name)
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 978, in find_element
�[36mweb_1 |�[0m 'value': value})['value']
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
�[36mweb_1 |�[0m self.error_handler.check_response(response)
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
�[36mweb_1 |�[0m raise exception_class(message, screen, stacktrace)
�[36mweb_1 |�[0m selenium.common.exceptions.WebDriverException: Message: Failed to decode response from marionette
�[36mweb_1 |�[0m
�[36mweb_1 |�[0m
�[36mweb_1 |�[0m During handling of the above exception, another exception occurred:
�[36mweb_1 |�[0m
�[36mweb_1 |�[0m Traceback (most recent call last):
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/site-packages/instapy/util.py", line 1839, in smart_run
�[36mweb_1 |�[0m session.login()
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/site-packages/instapy/instapy.py", line 411, in login
�[36mweb_1 |�[0m self.want_check_browser,
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/site-packages/instapy/login_util.py", line 277, in login_user
�[36mweb_1 |�[0m if not check_browser(browser, logfolder, logger, proxy_address):
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/site-packages/instapy/login_util.py", line 206, in check_browser
�[36mweb_1 |�[0m logger=logger,
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/site-packages/instapy/util.py", line 463, in update_activity
�[36mweb_1 |�[0m take_rotative_screenshot(browser, logfolder)
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/site-packages/instapy/util.py", line 2379, in take_rotative_screenshot
�[36mweb_1 |�[0m browser.save_screenshot("{}screenshot_2.png".format(logfolder))
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 1055, in save_screenshot
�[36mweb_1 |�[0m return self.get_screenshot_as_file(filename)
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 1032, in get_screenshot_as_file
�[36mweb_1 |�[0m png = self.get_screenshot_as_png()
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 1064, in get_screenshot_as_png
�[36mweb_1 |�[0m return base64.b64decode(self.get_screenshot_as_base64().encode('ascii'))
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 1074, in get_screenshot_as_base64
�[36mweb_1 |�[0m return self.execute(Command.SCREENSHOT)['value']
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
�[36mweb_1 |�[0m self.error_handler.check_response(response)
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
�[36mweb_1 |�[0m raise exception_class(message, screen, stacktrace)
�[36mweb_1 |�[0m selenium.common.exceptions.InvalidSessionIdException: Message: Tried to run command without establishing a connection
�[36mweb_1 |�[0m
�[36mweb_1 |�[0m
�[36mweb_1 |�[0m During handling of the above exception, another exception occurred:
�[36mweb_1 |�[0m
�[36mweb_1 |�[0m Traceback (most recent call last):
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/site-packages/instapy/browser.py", line 167, in close_browser
�[36mweb_1 |�[0m browser.delete_all_cookies()
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 878, in delete_all_cookies
�[36mweb_1 |�[0m self.execute(Command.DELETE_ALL_COOKIES)
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
�[36mweb_1 |�[0m self.error_handler.check_response(response)
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
�[36mweb_1 |�[0m raise exception_class(message, screen, stacktrace)
�[36mweb_1 |�[0m selenium.common.exceptions.InvalidSessionIdException: Message: Tried to run command without establishing a connection
�[36mweb_1 |�[0m
�[36mweb_1 |�[0m INFO [2020-01-15 09:34:35] [happyinsta] Sessional Live Report:
�[36mweb_1 |�[0m |> No any statistics to show
�[36mweb_1 |�[0m
�[36mweb_1 |�[0m
�[36mweb_1 |�[0m [Session lasted 49.93 seconds]
�[36mweb_1 |�[0m INFO [2020-01-15 09:34:35] [happyinsta] Session ended!
�[36mweb_1 |�[0m InstaPy Version: 0.6.7
�[36mweb_1 |�[0m .. .. .. .. .. .. ._.
�[36mweb_1 |�[0m Workspace in use: "/code/InstaPy"
�[36mweb_1 |�[0m OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
�[36mweb_1 |�[0m oooooooooooooooooooooooooooooooooooooooooooooooooooooo
�[36mweb_1 |�[0m
�[36mweb_1 |�[0m OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
�[36mweb_1 |�[0m ooooooooooooooooooooooooooooooooooooooooooooooooooooooo
�[36mweb_1 |�[0m
�[36mweb_1 |�[0m
�[36mweb_1 |�[0m
�[36mweb_1 |�[0m Traceback (most recent call last):
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/site-packages/instapy/login_util.py", line 168, in check_browser
�[36mweb_1 |�[0m pre = browser.find_element_by_tag_name("pre").text
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 530, in find_element_by_tag_name
�[36mweb_1 |�[0m return self.find_element(by=By.TAG_NAME, value=name)
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 978, in find_element
�[36mweb_1 |�[0m 'value': value})['value']
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
�[36mweb_1 |�[0m self.error_handler.check_response(response)
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
�[36mweb_1 |�[0m raise exception_class(message, screen, stacktrace)
�[36mweb_1 |�[0m selenium.common.exceptions.WebDriverException: Message: Failed to decode response from marionette
�[36mweb_1 |�[0m
�[36mweb_1 |�[0m
�[36mweb_1 |�[0m During handling of the above exception, another exception occurred:
�[36mweb_1 |�[0m
�[36mweb_1 |�[0m Traceback (most recent call last):
�[36mweb_1 |�[0m File "docker_quickstart.py", line 27, in
�[36mweb_1 |�[0m with smart_run(bot):
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/contextlib.py", line 112, in enter
�[36mweb_1 |�[0m return next(self.gen)
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/site-packages/instapy/util.py", line 1839, in smart_run
�[36mweb_1 |�[0m session.login()
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/site-packages/instapy/instapy.py", line 411, in login
�[36mweb_1 |�[0m self.want_check_browser,
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/site-packages/instapy/login_util.py", line 277, in login_user
�[36mweb_1 |�[0m if not check_browser(browser, logfolder, logger, proxy_address):
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/site-packages/instapy/login_util.py", line 206, in check_browser
�[36mweb_1 |�[0m logger=logger,
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/site-packages/instapy/util.py", line 463, in update_activity
�[36mweb_1 |�[0m take_rotative_screenshot(browser, logfolder)
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/site-packages/instapy/util.py", line 2379, in take_rotative_screenshot
�[36mweb_1 |�[0m browser.save_screenshot("{}screenshot_2.png".format(logfolder))
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 1055, in save_screenshot
�[36mweb_1 |�[0m return self.get_screenshot_as_file(filename)
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 1032, in get_screenshot_as_file
�[36mweb_1 |�[0m png = self.get_screenshot_as_png()
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 1064, in get_screenshot_as_png
�[36mweb_1 |�[0m return base64.b64decode(self.get_screenshot_as_base64().encode('ascii'))
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 1074, in get_screenshot_as_base64
�[36mweb_1 |�[0m return self.execute(Command.SCREENSHOT)['value']
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
�[36mweb_1 |�[0m self.error_handler.check_response(response)
�[36mweb_1 |�[0m File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
�[36mweb_1 |�[0m raise exception_class(message, screen, stacktrace)
�[36mweb_1 |�[0m selenium.common.exceptions.InvalidSessionIdException: Message: Tried to run command without establishing a connection
�[36mweb_1 |�[0m

KeyError: 'dissmiss_save_information'

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

Your .dependabot/config.yml contained invalid details

Dependabot encountered the following error when parsing your .dependabot/config.yml:

The property '#/update_configs/0/automerged_updates/0' contains additional properties ["update_type"] outside of the schema when none are allowed
The property '#/update_configs/0/automerged_updates/0/match' of type null did not match the following type: object

Please update the config file to conform with Dependabot's specification.

You can mention @dependabot in the comments below to contact the Dependabot team.

Message: binary is not a Firefox executable

docker pull instapy/instapy:latest && \

docker run --name instapy
-v /home/username/Documents/username/instapy/quickstart.py:/code/docker_quickstart.py
-v /home/username/Documents/username/instapy/InstaPy:/code/InstaPy
-d instapy/instapy:latest

2652kb [00:01, 2553.41kb/s]
InstaPy Version: 0.6.13
.. .. .. .. .. .. ._.
Workspace in use: "/root/InstaPy"
Traceback (most recent call last):
File "docker_quickstart.py", line 25, in
browser_executable_path="/usr/bin/microsoft-edge")
File "/usr/local/lib/python3.7/site-packages/instapy/instapy.py", line 338, in init
geckodriver_log_level,
File "/usr/local/lib/python3.7/site-packages/instapy/browser.py", line 127, in set_selenium_local_session
options=firefox_options,
File "/usr/local/lib/python3.7/site-packages/selenium/webdriver/firefox/webdriver.py", line 174, in init
keep_alive=True)
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.InvalidArgumentException: Message: binary is not a Firefox executable

You have too few comments, please set at least 10 distinct comments to avoid looking suspicious.

Hello,

When i try to run project as described here i get this error:

ERROR [2019-11-08 14:00:14] [borishocevar35210] You have too few comments, please set at least 10 distinct comments to avoid looking suspicious.

I was looking into Instapy issues and one of them mentioned this possible solution.

My quickstart file includes more than 10 comments:

comments = ['Nice shot! @{}',
        'I love your profile! @{}',
        'Your feed is an inspiration :thumbsup:',
        'Just incredible :open_mouth:',
        'What camera did you use @{}?',
        'Love your posts @{}',
        'Looks awesome @{}',
        'Getting inspired by you @{}',
        ':raised_hands: Yes!',
        'I can feel your passion @{} :muscle:',
        'Nice photo',
        'Cool photo']

Running in Unraid

Hi,
Wondering if someone might be able to help me configure Instapy to run in Unraid. If someone could add to the community applications, that would be great! Otherwise could you guide me through setting up an XML for this container?

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.