find-the-site-0.2
توضیحات
Find the site in duckduckgo
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX |
| نام فایل | find-the-site-0.2 |
| نام | find-the-site |
| نسخه کتابخانه | 0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | serhii |
| ایمیل نویسنده | aserhii@protonmail.com |
| آدرس صفحه اصلی | https://github.com/serhii73/find_the_site |
| آدرس اینترنتی | https://pypi.org/project/find-the-site/ |
| مجوز | MIT |
[](https://GitHub.com/serhii73/find_the_site/graphs/commit-activity)
[](https://www.python.org/)
[](https://GitHub.com/serhii73/find_the_site/graphs/contributors/)
[](https://GitHub.com/serhii73/find_the_site/stargazers/)

[](https://GitHub.com/serhii73/find_the_site/issues/)
# find_the_site
## Are you looking for a company/enterprise website? This small library finds websites in [duckduckgo search engine](https://duckduckgo.com/?t=hk)
#### Optionally you can use:
- the [ecosia](https://ecosia.org) search engine, to support environmental efforts
##### How to Install ?
```
pip install find_the_site
```
##### How to use ?
def get_website(website, eco=False)
> **website**: Whose website you are searching for
>
> **eco**:
>- **True**: Use ecosia search.
>- **default**: **False**
##### Find the website
```
In [1]: from find_the_site.fw import get_website
In [2]: get_website("UNITED NATIONS")
Out[2]: 'https://www.un.org/en/'
```
#
```
In [1]: from find_the_site.fw import get_website
In [2]: get_website("UNITED NATIONS", eco=True)
Out[2]: 'https://www.un.org/en/'
```
نیازمندی
| مقدار | نام |
|---|---|
| >=2.22,<3.0 | requests |
| >=4.7.1,<5.0.0 | beautifulsoup4 |
| >=0.1.9,<0.2.0 | user-agent |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6,<4.0 | Python |
نحوه نصب
نصب پکیج whl find-the-site-0.2:
pip install find-the-site-0.2.whl
نصب پکیج tar.gz find-the-site-0.2:
pip install find-the-site-0.2.tar.gz