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:
parent
1c3cffdc1d
commit
14e452d641
11
README.md
11
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.
|
||||
|
Loading…
Reference in New Issue
Block a user