A Python library for scraping the Google search engine.
Project description
Banner
dorkify
dorkify is a Python library for searching Google, easily. dorkify uses requests and BeautifulSoup4 to scrape Google.
Installation
To install, run the following command:
python3 -m pip install dorkify
usage
To get results for a search term, simply use the search function in dorkify. For example, to get results for "Google" in Google, just run the following program:
from dorkify import search
search("Google")
Additional options
dorkify supports a few additional options. By default, dorkify returns 10 results. This can be changed. To get a 100 results on Google for example, run the following program.
from dorkify import search
search("exploit-db", num_results=100)
In addition, you can change the language google searches in. For example, to get results in French run the following program:
from dorkify import search
search("exploit-db", lang="en")
dorkify.search
dorkify.search(str: term, int: num_results=10, str: lang="en") -> list
In the new version of dorkify you can search on a specified site:
from dorkify import search
search("site:exploit-db.com "gmail"")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dorkify-3.1-py3-none-any.whl.
File metadata
- Download URL: dorkify-3.1-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
642ed501e1fa59a511be0d9e9fec557232a997a04b839c6be49e845696dc1459
|
|
| MD5 |
2cd84c501e7ea87b593a62e86f606506
|
|
| BLAKE2b-256 |
ed1df7fa01ace447b275971c79d30b6169a60b2264823f64e823e7515fb984b7
|