diff --git a/README.md b/README.md index 03abb6b..cf7011e 100644 --- a/README.md +++ b/README.md @@ -52,9 +52,9 @@ See `readable --help` for more information. `readable https://www.nytimes.com/2020/01/18/technology/clearview-privacy-facial-recognition.html | w3m -T text/html` -**Download a web page using [cURL](https://en.wikipedia.org/wiki/CURL), parse it and save it into a file:** +**Download a web page using [cURL](https://en.wikipedia.org/wiki/CURL), parse it and output as JSON:** -`curl https://github.com/mozilla/readability | readable --base=https://github.com/mozilla/readability > example.html` +`curl https://github.com/mozilla/readability | readable --base=https://github.com/mozilla/readability --json` It's a good idea to supply the --base parameter when piping input, otherwise `readable` won't know the document's URL, and things like relative links won't work. diff --git a/package.json b/package.json index 6c69c42..3d9f817 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "readability-cli", - "version": "1.2", + "version": "1.2.0", "description": "Firefox Reader Mode in your terminal - get useful text from a web page using Mozilla's Readability library", "main": "index.js", "bin": {