Skip to main content

aduankonten-client

A headless HTTP client for aduankonten.id, Indonesia's Komdigi portal for reporting negative online content.

The site sits behind Cloudflare Turnstile, so a headless browser can't get through. This client skips the browser and talks to the site's own HTTP endpoints with a TLS fingerprint Cloudflare accepts (curl_cffi impersonating Chrome) — the same requests the site's own frontend makes. It works on a server, in a container, or in CI, with no display.

Install

pip install aduankonten-client

Usage

from aduankonten_client import AduanKontenClient

client = AduanKontenClient()

# Submit one report (attach your own screenshot PNG if you have one).
result = client.submit(
    url="http://example-phishing-site.test",
    reason="Phishing page impersonating a bank login.",
    screenshot=open("evidence.png", "rb").read(),  # optional
)
print(result)  # {"ticket": "AK-...", "detail_url": "https://aduankonten.id/submission/detail/..."}

# Resolve an existing ticket number to its detail-page URL.
print(client.check("AK-XXXXXXXX"))

Responsible use

aduankonten.id is a real government service. Every submit() files a real report that a human reviews. Report only content you have genuinely verified, one report per case, and do not use this to bulk-fire or spam the portal. You are responsible for what you submit.

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aduankonten_client-0.1.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aduankonten_client-0.1.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file aduankonten_client-0.1.0.tar.gz.

File metadata

  • Download URL: aduankonten_client-0.1.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.9

File hashes

Hashes for aduankonten_client-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f9ad90f3e5dc5957b7f75e16df00d00c4fa71aa956d3c9b9196cbd6cd8672067
MD5 c75a41bbb50b55a7e3fade7f0037f53d
BLAKE2b-256 21b0f1b00740ee77e9e4da758a3766f2229f9b792ea9d8fbaec63d95f0082d72

See more details on using hashes here.

File details

Details for the file aduankonten_client-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aduankonten_client-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bb0a5be1fcafe1029becb00277ade20c0069a0251d5cce048f2a343e76d8f4ac
MD5 adc2f643df31a041c35c77abf1478456
BLAKE2b-256 4075ae68ddf36b084bbec2778ab19e08eac935c1ed8c11f756a077d345b23bd9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page