Skip to main content

Detik Scrapping

Project description

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:

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

detik-scrapper-1.0.6.tar.gz (7.0 kB view hashes)

Uploaded Source

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