mdhama / lazyshot Goto Github PK
View Code? Open in Web Editor NEWThe simplest way to take an automated screenshot of given URLs. Easy installation! Edit
License: MIT License
The simplest way to take an automated screenshot of given URLs. Easy installation! Edit
License: MIT License
Hey @mdhama ,
It's look's like awesome tool, I want to use it but when I want to download and install I noticed that for installation I should download chrome driver and paste a command in .bash_profile But unfortunately I didn't find in my kali linux. Can you please tell me how to do it?
Thanks in advanced :)
Hi
I am getting the following error:
I have downloaded and given 755 and +x permission to chrome binary. I am not sure what is the problem. Chrome drivers is in the same folder as well.
Traceback (most recent call last):
File "lazyshot.py", line 80, in
result = takeScreeshot(url)
File "lazyshot.py", line 70, in takeScreeshot
driver = webdriver.Chrome(executable_path=os.path.abspath("chromedriver"), chrome_options=chrome_options)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/chrome/webdriver.py", line 75, in init
desired_capabilities=desired_capabilities)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 154, in init
self.start_session(desired_capabilities, browser_profile)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 243, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 312, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 237, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: cannot find Chrome binary
(Driver info: chromedriver=2.9.248316,platform=Linux 4.12.0-kali1-686-pae x86)
hello
is looks like you need to specify a version to install this is what i got as response while running
~/lazyshot# pip install -r requirements.txt
Requirement already satisfied: selenium in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 1))
Collecting urlparse (from -r requirements.txt (line 2))
Could not find a version that satisfies the requirement urlparse (from -r requirements.txt (line 2)) (from versions: )
No matching distribution found for urlparse (from -r requirements.txt (line 2))
r
first i clone the repo
after the cloning repo i go to installing requirement.txt with this command
pip install -r requirements.txt
this give me error
HTTPError: 404 Client Error: Not Found for url: https://pypi.org/simple/urlparse/
then i go to the installing mannualy 'urlparse' with link :-https://pypi.org/simple/urlparse/
this also give me error 404 Not Found
so have can i install it ?
this error ocured and lazyshot.py are not running they give me erroe this type after runing this command:-
python lazyshot.py -h
--.| |__ ___ | |_ | | / _
| / | | |`--. \ ' \ / _ | |ERROR: There was an error reading file.
hope you help me for solving this issue
thank you
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.