Comments (2)
If the user enters -o root
, Photon will create a new directory in the current directory with the name root
.
The logic used to create directories is:
the_directory_from_which_photon_was_run + '/' + new_directory
So even if you are running it from root, the directory that will be deleted is /root/root
However I will do what you said, its seems more elegant.
PS: There are only 507 lines in Photon :D
from photon.
This issue has been addressed in a331acd .
Now if the output directory exists, Photon will simply create (can overwrite) new files for saving in it.
If the output directory doesn't exists, it will be created.
Thanks for contributing ^_^
from photon.
Related Issues (20)
- OpenSSL.SSL.Error: HOT 1
- step7 of docker image build fails HOT 2
- UnicodeEncodeError: 'charmap' codec can't encode character HOT 2
- Url with parameter
- Error Message while launching search after fresh installation HOT 5
- No ninja mode?? HOT 2
- python alpine image - speed issue HOT 1
- Add feature to extract comments
- Crawling doesn't work if robots.txt or sitemap doesn't exist
- Photon runs only on Python 3.2 and above HOT 1
- Location of saved HOT 2
- No generating a DNS map HOT 1
- .well-known files
- TLSCertVerificationDisabled
- Remove spyse.com from DNS plugins HOT 1
- Can't build container Temporary failure resolving 'deb.debian.org'
- Errno 30
- Cant use headers option : Could not load headers prompt:
- Ain't getting any output
- Endho32
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from photon.