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.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for google_searching-0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f33d7b09cf85aca08a69b3a66820fa1a2a1f1c8a41113fcc73b28ff4cd4d5762 |
|
MD5 | e96759aa3ce0eb214e62370086b9e6af |
|
BLAKE2b-256 | 8cb453625d74bcffe52c597125402fc2d8a62f4311405f9c5008511ccfd6cdfa |