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 details)

Uploaded Source

File details

Details for the file detik-scrapper-1.0.6.tar.gz.

File metadata

  • Download URL: detik-scrapper-1.0.6.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for detik-scrapper-1.0.6.tar.gz
Algorithm Hash digest
SHA256 6d4c6626c77ef980c3cf9d5acb9804c8297eb9360cb686581d73957559bc6020
MD5 f68cb03abc92a9e861569645dcd03860
BLAKE2b-256 ec9accd1398bf6cae57c10f2107b8ec4ec31292258e8404e0425cc7368ff1081

See more details on using hashes here.

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