"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "googler.1" between
googler-4.2.tar.gz and googler-4.3.1.tar.gz

About: googler is a command line tool to search Google (Web & News) from the terminal (requires Python).

googler.1  (googler-4.2):googler.1  (googler-4.3.1)
skipping to change at line 52 skipping to change at line 52
-N, --news -N, --news
Show results from news section. Show results from news section.
-c, --tld=TLD -c, --tld=TLD
Country-specific search with top-level domain .TLD, e.g., in for I ndia. Country-specific search with top-level domain .TLD, e.g., in for I ndia.
-l, --lang=LANG -l, --lang=LANG
Search for the language LANG, e.g., fi for Finnish. Search for the language LANG, e.g., fi for Finnish.
-g, --geoloc=CC
Country-specific geolocation search with country code CC, e.g. '
in' for India. Country codes are
the same as top-level domains.
-x, --exact -x, --exact
Disable automatic spelling correction. Search exact keywords. Disable automatic spelling correction. Search exact keywords.
-C, --nocolor -C, --nocolor
Disable color output. Disable color output.
--colors=COLORS --colors=COLORS
Set output colors. Refer to the COLORS section below for details. Set output colors. Refer to the COLORS section below for details.
-j, --first, --lucky -j, --first, --lucky
Open the first result in a web browser; implies --noprompt. Feelin g Lucky? Open the first result in a web browser; implies --noprompt. Feelin g Lucky?
-t, --time=dN -t, --time=dN
Time limit search [h5 (5 hrs), d5 (5 days), w5 (5 weeks), m5 (5 mo nths), y5 (5 years)]. Time limit search [h5 (5 hrs), d5 (5 days), w5 (5 weeks), m5 (5 mo nths), y5 (5 years)].
-w, --site=SITE -w, --site=SITE
Search a site using Google. Search a site using Google.
-e, --exclude=EXCLUDE
Exclude site from results.
--unfilter --unfilter
Do not omit similar results. Do not omit similar results.
-p, --proxy=PROXY -p, --proxy=PROXY
Tunnel traffic through an HTTP proxy. PROXY is of the form Tunnel traffic through an HTTP proxy. PROXY is of the form
[http://][user:password@]proxy- [http://][user:password@]proxy-
host[:port]. The proxy server must support HTTP CONNECT tunneling host[:port]. The proxy server must support HTTP CONNECT tunneling
and must not block port 443 for and must not block port 443 for
the relevant Google hosts. If a proxy is not explicitly given, t the relevant Google hosts. If a proxy is not explicitly given, the
he https_proxy environment vari- https_proxy environment vari-
able (if available) is used instead. able (if available) is used instead.
--noua Disable user agent. Results are fetched faster. --noua Disable user agent. Results are fetched faster.
--notweak --notweak
Disable TCP optimizations. Negotiate Transport Layer Security prot ocol instead of forcing TLS 1.2 Disable TCP optimizations. Negotiate Transport Layer Security pro tocol instead of forcing TLS 1.2
(on Python 3.4 and above). Should be used only in case of connecti on issues. (on Python 3.4 and above). Should be used only in case of connecti on issues.
--json Output in JSON format; implies --noprompt. --json Output in JSON format; implies --noprompt.
--url-handler=UTIL --url-handler=UTIL
Custom script or command-line utility to open urls with. Custom script or command-line utility to open urls with.
--show-browser-logs --show-browser-logs
Do not suppress browser output when opening result in browser; th Do not suppress browser output when opening result in browser; tha
at is, connect stdout and stderr t is, connect stdout and stderr
of the browser to googler's stdout and stderr instead of /dev/null of the browser to googler's stdout and stderr instead of /dev/nul
. By default, browser output is l. By default, browser output is
suppressed (due to certain graphical browsers spewing message suppressed (due to certain graphical browsers spewing messages to
s to console) unless the BROWSER console) unless the BROWSER
environment variable is a known text-based browser: elinks, links, lynx, w3m or www-browser. environment variable is a known text-based browser: elinks, links, lynx, w3m or www-browser.
--np, --noprompt --np, --noprompt
Perform search and exit; do not prompt for further interactions. Perform search and exit; do not prompt for further interactions.
-u, --upgrade -u, --upgrade
Perform in-place self-upgrade. By default, the latest stable versi Perform in-place self-upgrade. By default, the latest stable vers
on is used. However, the latest ion is used. However, the latest
git master is used instead if --include-git is also supplied. Th git master is used instead if --include-git is also supplied. This
is mechanism is not available on mechanism is not available on
Windows (including Cygwin), and if you installed googler with a pa Windows (including Cygwin), and if you installed googler with a
ckage manager, this mechanism package manager, this mechanism
may have been disabled by your packager at packaging or install ti me. may have been disabled by your packager at packaging or install ti me.
--include-git --include-git
See --upgrade. See --upgrade.
-v, --version -v, --version
Show version number and exit. Show version number and exit.
-d, --debug -d, --debug
Enable debugging. Enable debugging.
OMNIPROMPT KEYS OMNIPROMPT KEYS
n, p Fetch the next or previous set of search results. n, p Fetch the next or previous set of search results.
index Open the result corresponding to index in browser. index Open the result corresponding to index in browser.
f Jump to the first page. f Jump to the first page.
o [index|range|a ...] o [index|range|a ...]
Open space-separated result indices, numeric ranges (sitelin Open space-separated result indices, numeric ranges (sitelinks u
ks unsupported in ranges) or all nsupported in ranges) or all
indices, if 'a' is specified, in the browser. Open the current sea indices, if 'a' is specified, in the browser. Open the current se
rch in the browser, if no argu- arch in the browser, if no argu-
ments. ments.
O [index|range|a ...] O [index|range|a ...]
Works similar to key 'o', but tries to ignore text-based brows ers (even if BROWSER is set) and Works similar to key 'o', but tries to ignore text-based browsers (even if BROWSER is set) and
open links in a GUI browser. open links in a GUI browser.
g keywords g keywords
Initiate a new Google search for keywords with original options. T his key should be used to search Initiate a new Google search for keywords with original options. T his key should be used to search
omniprompt keys (including itself) and indices. omniprompt keys (including itself) and indices.
c index c index
Copy url to clipboard. Copy url to clipboard.
u Toggle url expansion. u Toggle url expansion.
q, ^D, double Enter q, ^D, double Enter
Exit googler. Exit googler.
? Show omniprompt help. ? Show omniprompt help.
* Any other string initiates a new search with original options. * Any other string initiates a new search with original options.
GOOGLER @T GOOGLER @T
googler @t is a convenient add-on to Google Site Search with unique keyw googler @t is a convenient add-on to Google Site Search with unique keywo
ords. While googler has an inte- rds. While googler has an inte-
grated option to search a site, it could be simplified further with grated option to search a site, it could be simplified further w
aliases. The file googler_at ith aliases. The file googler_at
(https://github.com/jarun/googler/blob/master/auto-completion/googler_at/ (https://github.com/jarun/googler/blob/master/auto-completion/googler_at/
googler_at) contains a list of googler_at) contains a list of
website search aliases. To source it, run: website search aliases. To source it, run:
source googler_at source googler_at
or or
. googler_at . googler_at
With googler @t, the following command searches Wikipedia for hexspeak: With googler @t, the following command searches Wikipedia for hexspeak:
@w hexspeak @w hexspeak
Other googler options can be combined. The shell can be configured to be source the file at start-up for Other googler options can be combined. The shell can be configured to be source the file at start-up for
further convenience. further convenience.
All the aliases start with the @ symbol (hence the name googler @t) and t here is minimum chance they will All the aliases start with the @ symbol (hence the name googler @t) and t here is minimum chance they will
conflict with any shell commands. Users can add new aliases to the file. conflict with any shell commands. Users can add new aliases to the file.
COLORS COLORS
googler allows you to customize the color scheme via a six-letter string, reminiscent of BSD LSCOLORS. googler allows you to customize the color scheme via a six-letter stri ng, reminiscent of BSD LSCOLORS.
The six letters represent the colors of The six letters represent the colors of
- indices - indices
- titles - titles
- URLs - URLs
- metadata/publishing info (Google News only) - metadata/publishing info (Google News only)
- abstracts - abstracts
- prompts - prompts
respectively. The six-letter string is passed in either as the argument t o the --colors option, or as the respectively. The six-letter string is passed in either as the argument t o the --colors option, or as the
skipping to change at line 222 skipping to change at line 229
- bold bright cyan indices - bold bright cyan indices
- bold bright green titles - bold bright green titles
- bright yellow URLs - bright yellow URLs
- cyan metadata/publishing info - cyan metadata/publishing info
- normal abstracts - normal abstracts
- reverse video prompts - reverse video prompts
Note that Note that
- Bright colors (implemented as \x1b[90m - \x1b[97m) may not be available in all color-capable terminal - Bright colors (implemented as \x1b[90m - \x1b[97m) may not be availab le in all color-capable terminal
emulators; emulators;
- Some terminal emulators draw bold text in bright colors instead; - Some terminal emulators draw bold text in bright colors instead;
- Some terminal emulators only distinguish between bold and bright colors via a default-off switch. - Some terminal emulators only distinguish between bold and bright colors via a default-off switch.
Please consult the manual of your terminal emulator as well as Please consult the manual of your terminal em ulator as well as
https://en.wikipedia.org/wiki/ANSI_escape_code for details. https://en.wikipedia.org/wiki/ANSI_escape_code for details.
ENVIRONMENT ENVIRONMENT
BROWSER BROWSER
Overrides the default browser. Ref: http://docs.python.org/library /webbrowser.html Overrides the default browser. Ref: http://docs.python.org/library /webbrowser.html
GOOGLER_COLORS GOOGLER_COLORS
Refer to the COLORS section. Refer to the COLORS section.
DISABLE_PROMPT_COLOR DISABLE_PROMPT_COLOR
skipping to change at line 253 skipping to change at line 260
Refer to the --proxy option. Refer to the --proxy option.
DISABLE_URL_EXPANSION DISABLE_URL_EXPANSION
Show the domain names in search results instead of the expanded UR L. Show the domain names in search results instead of the expanded UR L.
EXAMPLES EXAMPLES
1. Google hello world: 1. Google hello world:
googler hello world googler hello world
2. Fetch 15 results updated within the last 14 months, starting from the 3rd result for the keywords 2. Fetch 15 results updated within the last 14 months, starting from the 3rd result for the keywords
jungle book in site imdb.com: jungle book in site imdb.com:
googler -n 15 -s 3 -t m14 -w imdb.com jungle book googler -n 15 -s 3 -t m14 -w imdb.com jungle book
3. Read recent news on gadgets: 3. Read recent news on gadgets:
googler -N gadgets googler -N gadgets
4. Fetch results on IPL cricket from Google India server in English: 4. Fetch results on IPL cricket from Google India server in English:
skipping to change at line 292 skipping to change at line 299
9. Website specific search: 9. Website specific search:
googler -w amazon.com -w ebay.com digital camera googler -w amazon.com -w ebay.com digital camera
Site specific search continues at omniprompt. Site specific search continues at omniprompt.
10. Alias to find definitions of words: 10. Alias to find definitions of words:
alias define='googler -n 2 define' alias define='googler -n 2 define'
11. Look up n, p, o, O, q, g keywords or a result index at the omniprom pt: as the omniprompt recognizes 11. Look up n, p, o, O, q, g keywords or a result index at the omniprompt : as the omniprompt recognizes
these keys or index strings as commands, you need to prefix them with g, e.g., these keys or index strings as commands, you need to prefix them with g, e.g.,
g n g n
g g keywords g g keywords
g 1 g 1
12. Input and output redirection: 12. Input and output redirection:
googler -C hello world < input > output googler -C hello world < input > output
skipping to change at line 341 skipping to change at line 348
https://github.com/jarun/googler https://github.com/jarun/googler
REPORTING BUGS REPORTING BUGS
https://github.com/jarun/googler/issues https://github.com/jarun/googler/issues
LICENSE LICENSE
Copyright © 2008 Henri Hakkinen Copyright © 2008 Henri Hakkinen
Copyright © 2015-2020 Arun Prakash Jana <engineerarun@gmail.com> Copyright © 2015-2020 Arun Prakash Jana <engineerarun@gmail.com>
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.h tml>. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.h tml>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent This is free software: you are free to change and redistribute it. The re is NO WARRANTY, to the extent
permitted by law. permitted by law.
Version 4.2 28 Jul 2020 GOOGLER(1) Version 4.3.1 10 Oct 2020 GOOGLER(1)
 End of changes. 17 change blocks. 
37 lines changed or deleted 45 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)