2019-11-07 17:14:01 +08:00
|
|
|
# googler
|
|
|
|
|
2021-05-20 16:13:41 -04:00
|
|
|
> Search Google from command-line.
|
2019-11-07 17:14:01 +08:00
|
|
|
> More information: <https://github.com/jarun/googler>.
|
|
|
|
|
|
|
|
- Search Google for a keyword:
|
|
|
|
|
|
|
|
`googler {{keyword}}`
|
|
|
|
|
|
|
|
- Search Google and open the first result in web browser:
|
|
|
|
|
|
|
|
`googler -j {{keyword}}`
|
|
|
|
|
2025-03-27 15:53:12 +00:00
|
|
|
- Show `n` search results (default: 10):
|
2019-11-07 17:14:01 +08:00
|
|
|
|
2025-03-27 15:53:12 +00:00
|
|
|
`googler -n {{n}} {{keyword}}`
|
2019-11-07 17:14:01 +08:00
|
|
|
|
|
|
|
- Disable automatic spelling correction:
|
|
|
|
|
|
|
|
`googler -x {{keyword}}`
|
|
|
|
|
|
|
|
- Search one site for a keyword:
|
|
|
|
|
|
|
|
`googler -w {{site}} {{keyword}}`
|
|
|
|
|
|
|
|
- Show Google search result in JSON format:
|
|
|
|
|
|
|
|
`googler --json {{keyword}}`
|
|
|
|
|
|
|
|
- Perform in-place self-upgrade:
|
|
|
|
|
|
|
|
`googler -u`
|
|
|
|
|
2024-01-30 01:55:24 -03:00
|
|
|
- Display help in interactive mode:
|
2019-11-07 17:14:01 +08:00
|
|
|
|
2025-03-09 03:23:24 +02:00
|
|
|
`<?>`
|