Skip to main content

Scraping google search results

Project description

Python >= 3.6

Google_searching

Google.com search results.

Dependencies

lxml, requests

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, max_results=30):
    ''' Google search
    keywords: keywords for query,
    max_results: not limited, in practice about 500.
    '''

Returns

[{'title': title of result,
  'href': href of result,
  'body': body of result,
  'rich_body': rich body of result,},
  '
 {'title': title of result,
  'href': href of result,
  'body': body of result,
  'rich_body': rich body of result,}, ...]

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.5.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

google_searching-0.5-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file google_searching-0.5.tar.gz.

File metadata

  • Download URL: google_searching-0.5.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for google_searching-0.5.tar.gz
Algorithm Hash digest
SHA256 924a465a94e5ce3f916765468ffc13586cd456707e1ab5e8dc4d15d138b1179d
MD5 3457ca4f425aef0c8c89a2aa7e5e3f02
BLAKE2b-256 6498e9ef9623155a6d9a8efce89a6dd69505dcadb17be52398a5f0257387121a

See more details on using hashes here.

File details

Details for the file google_searching-0.5-py3-none-any.whl.

File metadata

  • Download URL: google_searching-0.5-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for google_searching-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 074b396c238e643b311532de9e612c527a9f97d3502b0c0433e4904fb8671cf8
MD5 ca40ea7b727e984bd96ef250431e3b88
BLAKE2b-256 592f4378e1555dc01d6a93903bce6ef3cd53b2e9d8084feeb11598fce15a62ba

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page