detik-scrapper-1.0.6
توضیحات
Detik Scrapping
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | detik-scrapper-1.0.6 |
| نام | detik-scrapper |
| نسخه کتابخانه | 1.0.6 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Kiyora |
| ایمیل نویسنده | dev@sipaling.top |
| آدرس صفحه اصلی | https://sipaling.top |
| آدرس اینترنتی | https://pypi.org/project/detik-scrapper/ |
| مجوز | MIT |
# Detik Scrapper
## Installation
- Install package
After cloning, go to directory and run this command for installation package
```
$ pip install detik-scrapper
```
- Then you test it with new file like main.py / Example Code
```
import detik
import json
print(json.dumps(detik.getListHotNews(), indent=4))
```
## Available Function
* List Category
```
getListCategory() -> dict
```
* List New By Category Name
```
getListNews(category: str) -> dict:
```
* List Hot News
```
getListHotNews() -> dict:
```
* Detail News
```
getDetailNews(link: str) -> dict:
```
نحوه نصب
نصب پکیج whl detik-scrapper-1.0.6:
pip install detik-scrapper-1.0.6.whl
نصب پکیج tar.gz detik-scrapper-1.0.6:
pip install detik-scrapper-1.0.6.tar.gz