1
0
mirror of https://github.com/ericchiang/pup synced 2025-01-15 10:11:16 +00:00

Remove outdated section of README

This commit is contained in:
Andre Marianiello 2019-02-23 15:36:49 -05:00
parent 1c3cffdc1d
commit 14e452d641

View File

@ -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 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 method has been chosen which hopefully fits. The goal is simply to get the
output of pup into a more consumable format. output of pup into a more consumable format.