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.8.1.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for google_searching-0.8.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 489e1c7bb1a184fc07ffe48c1f39cc4f99df6cdb31f40da2cd7d12f33b5fb4bd |
|
MD5 | fb723d28412778fe73eb83ecdafe7d18 |
|
BLAKE2b-256 | 8a901bfe38defe0db0ee873ddb8cedc361b8c34cc33cbccf1acc90360faeaa5f |