From 14e452d64192b61239b493be9a902d0726e6aa68 Mon Sep 17 00:00:00 2001 From: Andre Marianiello Date: Sat, 23 Feb 2019 15:36:49 -0500 Subject: [PATCH] Remove outdated section of README --- README.md | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/README.md b/README.md index a24ac88..12da41c 100644 --- a/README.md +++ b/README.md @@ -319,17 +319,6 @@ $ cat robots.html | pup -i 4 'div#p-namespaces a json{}' ] ``` -If the selectors only return one element the results will be printed as a JSON -object, not a list. - -```bash -$ cat robots.html | pup --indent 4 'title json{}' -{ - "tag": "title", - "text": "Robots exclusion standard - Wikipedia, the free encyclopedia" -} -``` - Because there is no universal standard for converting HTML/XML to JSON, a method has been chosen which hopefully fits. The goal is simply to get the output of pup into a more consumable format.