Comments (3)
Where did you read that ignoreHTTPSErrors
could be a valid option?
from single-file-cli.
Where did you read that
ignoreHTTPSErrors
could be a valid option?
single-file-cli doesn't work when I download a website with an expired SSL certificate. I directly modify the source code so that will take effect just like #5 add browserOptions.ignoreHTTPSErrors=true
. But you close it as you say Options should not be hardcoded, especially when they have an impact on security. So, the value should come from options and MUST NOT be set to true by default
- const browserOptions = {};
+ const browserOptions = {
+ ignoreHTTPSErrors: true
+ }
So now if I don't modify the code, I can't download the website with expired ssl. I can't find the entry of single-file-cli to ignore the SSL certificate error, so I raise an issue to ask if it is ignored, or there is a place to set it just I did not see it.
from single-file-cli.
Thank you for the additional info, I just pushed the support of the new option --browser-ignore-insecure-certs
. It should work fine with all back-ends used by the CLI.
from single-file-cli.
Related Issues (20)
- Error: command not found, after `npm install -g "gildas-lormeau/single-file-cli"` HOT 5
- `Cannot read properties of undefined` when following the docker example HOT 2
- Stacktrace when running SingleFile CLI for a particular website HOT 1
- Skips First URL in the list of URLs HOT 3
- --save-original-urls does not work on cli HOT 2
- Running singlefile-cli with a chrome extension HOT 1
- single-file-cli doesn't exit with error code when retriving page fails HOT 4
- Unable to download a particular website using cli HOT 9
- working with a given url seems to dump code into the terminal
- feature suggestion: convert IFRAMEs into embedded content
- feature suggestion: verbose mode (hangs on URL)
- Page download failing for Youtube when using browser cookie HOT 2
- How can I use docker cli instead of curl with cookie.json? HOT 5
- When spawning singlefile from within a docker container, it will leave defunct chrome processes behind.
- No option to disable saved date header HOT 2
- Feature request: Add support for configuration files and add an argument to read the file from a path.
- --browser-script after --browser-executable-path results in silent failure HOT 2
- Recent tagged Docker image? HOT 1
- Failed to launch the browser process! (Apple Silicon) HOT 3
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 single-file-cli.