Bump version properly + save README

merge-requests/2/head
gardenapple 4 years ago
parent 3ccb21ff34
commit 7a543fd8b6
No known key found for this signature in database
GPG Key ID: CAF17E9ABE789268

@ -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.

@ -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": {

Loading…
Cancel
Save