Skip to content
This repository was archived by the owner on Mar 5, 2022. It is now read-only.

Commit fffb680

Browse files
committed
Prepare for release v3.3
1 parent c1b530d commit fffb680

File tree

5 files changed

+72
-61
lines changed

5 files changed

+72
-61
lines changed

CHANGELOG

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
googler 3.3
2+
2017-08-17
3+
4+
What's in?
5+
- Search auto-completion (using completion scripts)
6+
- Python 3.6 support
7+
- Automated release package builds using PackageCore
8+
9+
-------------------------------------------------------------------------------
10+
111
googler 3.2
212
2017-07-07
313

README.md

Lines changed: 57 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ before installation.
9090

9191
#### Release packages
9292

93-
Packages for Arch Linux, CentOS, Fedora and Ubuntu are available with the [latest stable release](https://github.com/jarun/googler/releases/latest).
93+
Packages for Arch Linux, CentOS, Debian, Fedora and Ubuntu are available with the [latest stable release](https://github.com/jarun/googler/releases/latest).
9494

9595
#### From source
9696

@@ -118,7 +118,7 @@ Googler is a single standalone script, so you could download just a single file
118118

119119
To install the latest stable version, run
120120

121-
$ sudo curl -o /usr/local/bin/googler https://raw.githubusercontent.com/jarun/googler/v3.2/googler && sudo chmod +x /usr/local/bin/googler
121+
$ sudo curl -o /usr/local/bin/googler https://raw.githubusercontent.com/jarun/googler/v3.3/googler && sudo chmod +x /usr/local/bin/googler
122122

123123
You could then let googler upgrade itself by running
124124

@@ -140,59 +140,61 @@ Search keyword and option completion scripts for Bash, Fish and Zsh can be found
140140

141141
#### Cmdline options
142142

143-
usage: googler [-h] [-s N] [-n N] [-N] [-c TLD] [-l LANG] [-x] [-C]
144-
[--colors COLORS] [-j] [-t dN] [-w SITE] [--unfilter]
145-
[-p PROXY] [--noua] [--notweak] [--json] [--show-browser-logs]
146-
[--np] [-u] [--include-git] [-v] [-d]
147-
[KEYWORD [KEYWORD ...]]
148-
149-
Google from the command-line.
150-
151-
positional arguments:
152-
KEYWORD search keywords
153-
154-
optional arguments:
155-
-h, --help show this help message and exit
156-
-s N, --start N start at the Nth result
157-
-n N, --count N show N results (default 10)
158-
-N, --news show results from news section
159-
-c TLD, --tld TLD country-specific search with top-level domain .TLD,
160-
e.g., 'in' for India. Ref:
161-
https://en.wikipedia.org/wiki/List_of_Google_domains
162-
-l LANG, --lang LANG display in language LANG
163-
-x, --exact disable automatic spelling correction
164-
-C, --nocolor disable color output
165-
--colors COLORS set output colors (see man page for details)
166-
-j, --first, --lucky open the first result in web browser and exit
167-
-t dN, --time dN time limit search [h5 (5 hrs), d5 (5 days), w5 (5
168-
weeks), m5 (5 months), y5 (5 years)]
169-
-w SITE, --site SITE search a site using Google
170-
--unfilter do not omit similar results
171-
-p PROXY, --proxy PROXY
172-
tunnel traffic through an HTTP proxy; PROXY is of the
173-
form [http://][user:password@]proxyhost[:port]
174-
--noua disable user agent
175-
--notweak disable TCP optimizations and forced TLS 1.2
176-
--json output in JSON format; implies --noprompt
177-
--show-browser-logs do not suppress browser output (stdout and stderr)
178-
--np, --noprompt search and exit, do not prompt
179-
-u, --upgrade perform in-place self-upgrade
180-
--include-git when used with --upgrade, upgrade to latest git master
181-
-v, --version show program's version number and exit
182-
-d, --debug enable debugging
183-
184-
omniprompt keys:
185-
n, p fetch the next or previous set of search results
186-
index open the result corresponding to index in browser
187-
f jump to the first page
188-
o [index|range|a ...] open space-separated result indices, numeric ranges
189-
(sitelinks unsupported in ranges), or all, in browser
190-
open the current search in browser, if no arguments
191-
g keywords new Google search for 'keywords' with original options
192-
should be used to search omniprompt keys and indices
193-
q, ^D, double Enter exit googler
194-
? show omniprompt help
195-
* other inputs issue a new search with original options
143+
```
144+
usage: googler [-h] [-s N] [-n N] [-N] [-c TLD] [-l LANG] [-x] [-C]
145+
[--colors COLORS] [-j] [-t dN] [-w SITE] [--unfilter]
146+
[-p PROXY] [--noua] [--notweak] [--json] [--show-browser-logs]
147+
[--np] [-u] [--include-git] [-v] [-d]
148+
[KEYWORD [KEYWORD ...]]
149+
150+
Google from the command-line.
151+
152+
positional arguments:
153+
KEYWORD search keywords
154+
155+
optional arguments:
156+
-h, --help show this help message and exit
157+
-s N, --start N start at the Nth result
158+
-n N, --count N show N results (default 10)
159+
-N, --news show results from news section
160+
-c TLD, --tld TLD country-specific search with top-level domain .TLD,
161+
e.g., 'in' for India. Ref:
162+
https://en.wikipedia.org/wiki/List_of_Google_domains
163+
-l LANG, --lang LANG display in language LANG
164+
-x, --exact disable automatic spelling correction
165+
-C, --nocolor disable color output
166+
--colors COLORS set output colors (see man page for details)
167+
-j, --first, --lucky open the first result in web browser and exit
168+
-t dN, --time dN time limit search [h5 (5 hrs), d5 (5 days), w5 (5
169+
weeks), m5 (5 months), y5 (5 years)]
170+
-w SITE, --site SITE search a site using Google
171+
--unfilter do not omit similar results
172+
-p PROXY, --proxy PROXY
173+
tunnel traffic through an HTTP proxy; PROXY is of the
174+
form [http://][user:password@]proxyhost[:port]
175+
--noua disable user agent
176+
--notweak disable TCP optimizations and forced TLS 1.2
177+
--json output in JSON format; implies --noprompt
178+
--show-browser-logs do not suppress browser output (stdout and stderr)
179+
--np, --noprompt search and exit, do not prompt
180+
-u, --upgrade perform in-place self-upgrade
181+
--include-git when used with --upgrade, upgrade to latest git master
182+
-v, --version show program's version number and exit
183+
-d, --debug enable debugging
184+
185+
omniprompt keys:
186+
n, p fetch the next or previous set of search results
187+
index open the result corresponding to index in browser
188+
f jump to the first page
189+
o [index|range|a ...] open space-separated result indices, numeric ranges
190+
(sitelinks unsupported in ranges), or all, in browser
191+
open the current search in browser, if no arguments
192+
g keywords new Google search for 'keywords' with original options
193+
should be used to search omniprompt keys and indices
194+
q, ^D, double Enter exit googler
195+
? show omniprompt help
196+
* other inputs issue a new search with original options
197+
```
196198

197199
#### Configuration file
198200

googler

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ signal.signal(signal.SIGINT, sigint_handler)
6666

6767
# Constants
6868

69-
_VERSION_ = '3.2'
69+
_VERSION_ = '3.3'
7070

7171
COLORMAP = {k: '\x1b[%sm' % v for k, v in {
7272
'a': '30', 'b': '31', 'c': '32', 'd': '33',
@@ -2054,14 +2054,13 @@ class GooglerArgumentParser(argparse.ArgumentParser):
20542054
def print_general_info(file=None):
20552055
file = sys.stderr if file is None else file
20562056
file.write(textwrap.dedent("""
2057-
googler version %s
2058-
Python version %s
2057+
Version %s
20592058
Copyright © 2008 Henri Hakkinen
20602059
Copyright © 2015-2017 Arun Prakash Jana <[email protected]>
20612060
Zhiming Wang <[email protected]>
20622061
License: GPLv3
20632062
Webpage: https://github.com/jarun/googler
2064-
""" % (_VERSION_, python_version())))
2063+
""" % _VERSION_))
20652064

20662065
# Augment print_help to print more than synopsis and options
20672066
def print_help(self, file=None):

googler.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH "GOOGLER" "1" "Jul 2017" "Version 3.2" "User Commands"
1+
.TH "GOOGLER" "1" "Aug 2017" "Version 3.3" "User Commands"
22
.SH NAME
33
googler \- Google from the command-line
44
.SH SYNOPSIS

packagecore.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: buku
1+
name: googler
22
metadata:
33
maintainer: Arun Prakash Jana <[email protected]>
44
license: GPLv3

0 commit comments

Comments
 (0)