dorkify-3.1
توضیحات
A Python library for scraping the Google search engine.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | dorkify-3.1 |
| نام | dorkify |
| نسخه کتابخانه | 3.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | hate |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/probablynothate/dorkify |
| آدرس اینترنتی | https://pypi.org/project/dorkify/ |
| مجوز | - |
[***pypi***](https://pypi.org/project/dorkify)
# Banner
<img src="https://cdn.discordapp.com/attachments/942412994736963614/942551697404874762/unknown.png">
# 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:
```bash
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:
```python
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.
```python
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:
```python
from dorkify import search
search("exploit-db", lang="en")
```
## dorkify.search
```python
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:
```python
from dorkify import search
search("site:exploit-db.com "gmail"")
نیازمندی
| مقدار | نام |
|---|---|
| ==4.9.3 | beautifulsoup4 |
| ==2.25.1 | requests |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl dorkify-3.1:
pip install dorkify-3.1.whl
نصب پکیج tar.gz dorkify-3.1:
pip install dorkify-3.1.tar.gz