Catalog PyPI
Back to packageRELEASE DETAILS

0.1.0

PyPI

aduankonten-client

Headless HTTP client for aduankonten.id (submit content reports and resolve tickets without a browser).

Published6 Aug 2026
Direct dependencies2
Transitive dependenciesNot calculated

README

Version 0.1.0 documentation

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

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 2

Native requirements
2 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
curl-cffi
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
curl-cffi>=0.6runtime
pytest
Environment
{
  "extras": "",
  "marker": "extra == \"test\"",
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
pytest>=7; extra == "test"runtime

Distribution files

2 collected
aduankonten_client-0.1.0-py3-none-any.whl

bdist_wheel · 5.65 KB · Python py3

Source file
aduankonten_client-0.1.0.tar.gz

sdist · 4.59 KB · Python source

Source file

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:56 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:22f59345eadf4b733060d3acf6a9be0a45db5b44749a906caa7cce9f0cd9f372

Other collected versions

View all collected versions →