This repository has been archived by the owner on Mar 5, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 533
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
39 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#!/usr/bin/env python3 | ||
# | ||
# Copyright © 2008 Henri Hakkinen | ||
# Copyright © 2015-2017 Arun Prakash Jana <[email protected]> | ||
# Copyright © 2015-2018 Arun Prakash Jana <[email protected]> | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
|
@@ -68,7 +68,7 @@ signal.signal(signal.SIGINT, sigint_handler) | |
|
||
# Constants | ||
|
||
_VERSION_ = '3.4' | ||
_VERSION_ = '3.5' | ||
|
||
COLORMAP = {k: '\x1b[%sm' % v for k, v in { | ||
'a': '30', 'b': '31', 'c': '32', 'd': '33', | ||
|
@@ -83,7 +83,7 @@ COLORMAP = {k: '\x1b[%sm' % v for k, v in { | |
}.items()} | ||
|
||
# Disguise as Firefox on Ubuntu | ||
USER_AGENT = ('Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0') | ||
USER_AGENT = ('Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0') | ||
ua = True # User Agent is enabled by default | ||
|
||
text_browsers = ['elinks', 'links', 'lynx', 'w3m', 'www-browser'] | ||
|
@@ -2140,7 +2140,7 @@ class GooglerArgumentParser(argparse.ArgumentParser): | |
file.write(textwrap.dedent(""" | ||
Version %s | ||
Copyright © 2008 Henri Hakkinen | ||
Copyright © 2015-2017 Arun Prakash Jana <[email protected]> | ||
Copyright © 2015-2018 Arun Prakash Jana <[email protected]> | ||
Zhiming Wang <[email protected]> | ||
License: GPLv3 | ||
Webpage: https://github.com/jarun/googler | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.TH "GOOGLER" "1" "2 Oct 2017" "Version 3.4" "User Commands" | ||
.TH "GOOGLER" "1" "16 Feb 2018" "Version 3.5" "User Commands" | ||
.SH NAME | ||
googler \- Google from the command-line | ||
.SH SYNOPSIS | ||
|
@@ -398,7 +398,7 @@ Zhiming Wang <[email protected]> | |
.SH LICENSE | ||
Copyright \(co 2008 Henri Hakkinen | ||
.br | ||
Copyright \(co 2015-2017 Arun Prakash Jana <[email protected]> | ||
Copyright \(co 2015-2018 Arun Prakash Jana <[email protected]> | ||
.PP | ||
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. | ||
.br | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c91f11d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@szlin @shaggytwodope @zmwangx
googler
v3.5 is released!c91f11d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jarun The new version of googler has been uploaded.
BTW, today is Chinese new year. Happy Chinese new year to all of you!
c91f11d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Happy Chinese New Year guys!!!