google-search
Library for scraping google search results.
Usage:
from googlesearch.googlesearch import GoogleSearch response = GoogleSearch().search("something") for result in response.results: print("Title: " + result.title) print("Content: " + result.getText())Free software: MIT license
Features
Run a Google search and fetch the individual results (full HTML and text contents). By default the result URLs are fetched eagerly when the search request is made with 10 parallel requests. Fetching can be deferred until searchResult.getText() or getMarkup() are called by passing prefetch_results = False to the search method.
Pass num_results to the search method to set the maximum number of results.
SearchReponse.total gives the total number of results on Google.
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
1.0.0 (2017-05-06)
First release on PyPI.
Metadata
Release files for google-search 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| google-search-1.1.1.tar.gz | 16.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| google_search-1.1.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 22.5 kB
Release files / google-search-1.1.1.tar.gz
| Download URL | google-search-1.1.1.tar.gz |
|---|---|
| Size | 16.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6e1020531301f4d78beb34bc4e215c8312cebddb47771352d92d857d2b375b7b
|
|
BLAKE2b-256 checksum How to use checksums |
9a825799fc5ced7c2c160ac65864b10d1be54c56fc34712aa599e936882122f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.8.5
|
Release files / google_search-1.1.1-py2.py3-none-any.whl
| Download URL | google_search-1.1.1-py2.py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
89ccd3cf41aa29e57ced9fe20fcd115803db43a108651532239e098876dfeb2c
|
|
BLAKE2b-256 checksum How to use checksums |
46682741434bd31038a29958aa6084b03b9461e5fa7c19afe048f218413b8656
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.8.5
|
Security for google-search 1.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.