Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3.x support and new features. #16

Open
wants to merge 71 commits into
base: master
Choose a base branch
from

Conversation

kenorb
Copy link

@kenorb kenorb commented Nov 13, 2015

No description provided.

lindi2 and others added 30 commits August 1, 2012 13:02
Google search stopped working on 2012-08-01.

Before:

$ PYTHONPATH=. examples/example1.py | grep -c ^http
1

After:

$ PYTHONPATH=. examples/example1.py | grep -c ^http
10
Before:

$ PYTHONPATH=. examples/example1.py | grep -c ^http
10

After:

$ PYTHONPATH=. examples/example1.py | grep -c ^http
49
modified the functions _extract_results and _extract_description according to these suggestions: http://www.catonmat.net/c/27124
Conflicts:
	README.md
	xgoogle/search.py
Google search stopped working on 2012-08-01.

Before:

$ PYTHONPATH=. examples/example1.py | grep -c ^http
1

After:

$ PYTHONPATH=. examples/example1.py | grep -c ^http
10
Before:

$ PYTHONPATH=. examples/example1.py | grep -c ^http
10

After:

$ PYTHONPATH=. examples/example1.py | grep -c ^http
49

Conflicts:
	xgoogle/browser.py
Conflicts:
	.gitignore
Conflicts:
	.gitignore
Conflicts:
	xgoogle/browser.py
kenorb and others added 20 commits August 1, 2014 13:52
…cause it would not return any results missing a Title or Desc - most were missing Desc - apparently this may have become way more common recently, or there may be a bug retrieving it somewhere?

Changed this so it now returns the correct 50 results, ignoring the incomplete fields.
…od citizen" to Google by waiting a bit after each results page.

Also turned on "random_agent" user-agent randomization by default.
…r Python 2 back-compability. Added exception error 503.
Fix unicode literals for Python 3.0, 3.1 and 3.2 (fixes #7)
Fix tags parsing; avoid SSL: CERTIFICATE_VERIFY_FAILED error.
Added repeat parameter to set filter search results
@Kristinita
Copy link

@kenorb , I'm sorry, where now is situated your xgoogle fork for Python 3? I'm don't find it in your repositories list.

Thanks.

@kenorb
Copy link
Author

kenorb commented Apr 4, 2017

@Kristinita I've moved it to https://github.com/mycognitive/xgoogle

Mickaël Schoentgen and others added 8 commits June 3, 2018 19:30
Fix NameError: name 'name2codepoint' is not defined (fixes #16)
I have modified unicode character decoding to be compatible with Python 3.x. Indeed, Python 3.x does not have unichr() method because Python 2.x and Python 3.x do not handle it the same way.
Modify unicode character decoding
Modify browser and search to be able to set socket timeout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.