Scraping google search results
Project description
Google_searching
Google.com search results.
Install
pip install -U google_searching
Usage
WARNING!: the site gives an captcha when making frequent repeated requests.
Call ggl() function again after at least 5 seconds.
from google_searching import ggl
ggl(keywords, lang='en', max_results=20):
''' Google search
keywords: keywords for query,
lang: language of search results,
max_results: not limited, in practice about 500.
'''
Returns
[
{'title': title of result,
'href': href of result,
'body': body of result},
...
]
Example
from google_searching import ggl
r = ggl('usa', lang='en', max_results=100)
print(r)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
google_searching-0.7.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for google_searching-0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bc2da6cc17b1c432075dfd159ad4f773117318695d01562ccbfe5c4a1aa232a |
|
MD5 | bb45cf9660e2e2932943a277de69b15e |
|
BLAKE2b-256 | b3b9b48cb0fe88aa3cf83dcd76596e083d197786de1276d7ee13d7526a36d81c |