Skip to main content

Python library to do google search

Project description

Code issues

Using google search engine from python

Tested python version

  • python 2.7.6

  • python 3.4.3

Installation

$ pip install pygoogling

Usage

For now, this library only contain one class, GoogleSearch. Here is a short description to use this library.

from pygoogling.googling import GoogleSearch


google_search = GoogleSearch('python')
google_search.start_search(max_page=3)
print(google_search.search_result) # will print the url as list of string
google_search.more_page(4) # to search 4 extra pages
print(google_search.search_result) # the result will be added to current result

The keyword is the only requirement to initiate this class. The max_page parameter is used to determine how many google web page result you want to parse. By default, max_page will be one. The GoogleSearch.more_page() is a method used to do extra search. The only required parameter is how many more pages you want to get the result of google search.

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

pygoogling-0.0.2.tar.gz (2.9 kB view details)

Uploaded Source

Built Distributions

pygoogling-0.0.2-py3.4.egg (5.3 kB view details)

Uploaded Source

pygoogling-0.0.2-py2.py3-none-any.whl (4.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pygoogling-0.0.2.tar.gz.

File metadata

  • Download URL: pygoogling-0.0.2.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pygoogling-0.0.2.tar.gz
Algorithm Hash digest
SHA256 e7c876f2430d6ad5c7d92a9d34ddbd233f2737b67b5269204c9865bb0c5c8480
MD5 03aa0b945a01c3454343f9b3509a38e3
BLAKE2b-256 9be9c018470ccf2782c5f23efa0bdfd416887a401a17ffef038d608b79b0675e

See more details on using hashes here.

File details

Details for the file pygoogling-0.0.2-py3.4.egg.

File metadata

File hashes

Hashes for pygoogling-0.0.2-py3.4.egg
Algorithm Hash digest
SHA256 e03e19ae352ffe1f2979d0405cce20f7bcb8c7bb6e674f46d86a79252c5aa21d
MD5 3838e7f2db14bda8730d51f7dd4f6ecc
BLAKE2b-256 063f0420df1ffcf20d4ed84df5f47394a0d7e27c3d37b34f1e1a317ecaa5e782

See more details on using hashes here.

File details

Details for the file pygoogling-0.0.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pygoogling-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3a56d30131c472fb65509e66e7540db239bd73f2a6368f96e480cc25a143c02a
MD5 cd49afd20c7b3c8a670baede80d35b62
BLAKE2b-256 6917ca0bc74f3b97e2e6101b2956e2e779388f76f53b520c30bf049e8b29763c

See more details on using hashes here.

Supported by

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