Code Monkey home page Code Monkey logo

Comments (6)

gskornowicz avatar gskornowicz commented on August 30, 2024 2

It worked when i changed geckodriver to 0.19.1 :)

from eagleeye.

aNaoy avatar aNaoy commented on August 30, 2024 1

I have the exact same issue.

The browser is well opened and access to google.com/imghp.

I can see it starting the searches but after a few seconds (when it found the results for the picture I put in ./known), I have this error, EagleEye exits but not Firefox.

from eagleeye.

ThoughtfulDev avatar ThoughtfulDev commented on August 30, 2024

Does the Browser open? Does the Browser navigate to google.com/imghp ?

Seems like the Browser is closed when it tries to find the DOM Element.

from eagleeye.

ThoughtfulDev avatar ThoughtfulDev commented on August 30, 2024

Which Geckodriver and FireFox Version are you using?
I'm using Firefox 60.0.2 and Geckodriver 0.19.1. Try using this combo.

Also try to increase the SLEEP_DELAY in config.json

from eagleeye.

ThoughtfulDev avatar ThoughtfulDev commented on August 30, 2024

i Tried using the latest Geckodriver (Ver 0.21.0) and FF 60.0.2, everything works. No crashes.
Note: If you are using Firefox ESR(like Kali does) please use the Geckodriver Version 17

from eagleeye.

gskornowicz avatar gskornowicz commented on August 30, 2024

I'm also having this issue.
Linux Mint 19
Firefox 60.0.2
Geckodriver 0.21.0

Also i had a bit of trouble to get this script to even start.

Error i get:
:: Google Reverse Image Search
==> Opening Webdriver

:: Uploading Local Known Images
  -> Inserting Path
Traceback (most recent call last):
  File "eagle-eye.py", line 230, in <module>
    main(skipFB=args.skipfb, skipIR=args.skipir, skipY=None, FBUrls=[])
  File "eagle-eye.py", line 116, in main
    g.collectLinksLocal()
  File "/home/mint/EagleEye/grabber/google.py", line 94, in collectLinksLocal
    pred = driver.find_element_by_xpath("/html/body/div[6]/div[3]/div[3]/div[1]/div[2]/div/div[2]/div[1]/div/div[2]/a")
  File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/webdriver.py", line 393, in find_element_by_xpath
    return self.find_element(by=By.XPATH, value=xpath)
  File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/webdriver.py", line 966, in find_element
    'value': value})['value']
  File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/webdriver.py", line 318, in execute
    response = self.command_executor.execute(driver_command, params)
  File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/remote_connection.py", line 472, in execute
    return self._request(command_info[0], url, body=data)
  File "/usr/local/lib/python3.6/dist-packages/selenium/webdriver/remote/remote_connection.py", line 495, in _request
    self._conn.request(method, parsed_url.path, body, headers)
  File "/usr/lib/python3.6/http/client.py", line 1239, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1285, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1234, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.6/http/client.py", line 1065, in _send_output
    self.send(chunk)
  File "/usr/lib/python3.6/http/client.py", line 986, in send
    self.sock.sendall(data)
BrokenPipeError: [Errno 32] Broken pipe

from eagleeye.

Related Issues (20)

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.