@udx/mq 1.1.4 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -28,13 +28,13 @@ npm install -g @udx/mq
|
|
|
28
28
|
This tool is great to combine with `mcurl`. For instance, the following command fetches a web page and extracts images:
|
|
29
29
|
|
|
30
30
|
```bash
|
|
31
|
-
mcurl
|
|
31
|
+
mcurl https://udx.io/about | mq --images
|
|
32
32
|
```
|
|
33
33
|
|
|
34
34
|
You can also get the raw JSON output so you can use `jq` to filter and transform it further into a list of image URLs:
|
|
35
35
|
|
|
36
36
|
```bash
|
|
37
|
-
mcurl
|
|
37
|
+
mcurl https://udx.io/about | mq --images --format json | jq '.[].src'
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
|