Comments (4)
I believe this is already achieved via the --output
option. From the README
(emphasis mine):
- If
--output
flag is not specified then Obelisk will generate file name for the archive and save it in current working directory.- If
--output
flag is set to-
and there is only one URL to process (either from input file or from CLI arguments) then the default output will bestdout
.- If
--output
flag is specified but there are more than one URL to process, Obelisk will generate file name for the archive, but keep using the directory from the specified output path.- If
--output
flag is specified but it sets to an existing directory, Obelisk will also generate file name for the archive.
Example usage:
obelisk "https://philipptanlak.com/web-frontends-in-go" --output blogs/go-frontend.html
from obelisk.
I believe this is already achieved via the
--output
option. From theREADME
(emphasis mine):
- If
--output
flag is not specified then Obelisk will generate file name for the archive and save it in current working directory.- If
--output
flag is set to-
and there is only one URL to process (either from input file or from CLI arguments) then the default output will bestdout
.- If
--output
flag is specified but there are more than one URL to process, Obelisk will generate file name for the archive, but keep using the directory from the specified output path.- If
--output
flag is specified but it sets to an existing directory, Obelisk will also generate file name for the archive.Example usage:
obelisk "https://philipptanlak.com/web-frontends-in-go" --output blogs/go-frontend.html
You are right. The --output
flag is used to archive a single file but separate files with Archiver.WrapDirectory
.
from obelisk.
This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days
from obelisk.
This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 5 days
from obelisk.
Related Issues (12)
- Can not resolve the lazy load image HOT 1
- Optional to skip downloading resource errors? HOT 5
- --load-cookies doesn't appear to do anything HOT 8
- Borken google.com/about HOT 1
- Download media files from the page HOT 2
- Allow the option to archive with a headless browser HOT 16
- Page is blank after archive HOT 2
- Can not resolve the lazy load image [2] HOT 4
- Parser plugins
- add unit-test
- do we realy need unsafe in code?
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 obelisk.