From c28e50383faf5bc40667583b2ac30de49aa8eea5 Mon Sep 17 00:00:00 2001 From: gardenapple Date: Tue, 14 Jul 2020 23:15:59 +0300 Subject: [PATCH] Fix mistake in example --- README.md | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 658e0c0..415fff9 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ See `readable --help` for more information. **Download a web page using [cURL](https://en.wikipedia.org/wiki/CURL), parse it and save it into a file:** -`curl https://github.com/mozilla/readability | readable --url=https://github.com/mozilla/readability` +`curl https://github.com/mozilla/readability | readable --url=https://github.com/mozilla/readability > example.html` It's a good idea to supply the --url 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 82c981a..6f4cf6c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@gardenapple/readability-cli", - "version": "1.0.1", + "version": "1.0.2", "description": "Firefox Reader Mode in your terminal - get useful text from a web page using Mozilla's Readability library", "main": "index.js", "bin": {