Skip to main content

CLI reader for 4D4Y/HiPDA Discovery forum posts.

Project description

hipda

CLI reader for the 4D4Y/HiPDA Discovery channel (fid=2).

The site uses browser/session checks, so direct unauthenticated requests may return a Cloudflare challenge. Log in once through Chrome:

uvx --from . hipda login

From PyPI:

uvx hipda login

That opens 4D4Y in Google Chrome. After you finish logging in, return to the terminal and press Enter. Then read Discovery:

uvx --from . hipda list --limit 20
uvx --from . hipda read 3446553

From PyPI:

uvx hipda list --limit 20
uvx hipda read 3446553

hipda list also tries to import automatically if Chrome is already logged in, so most of the time you can skip straight to reading. The old hipda discovery list and hipda discovery read commands still work.

The cookie is stored at ~/.config/hipda/cookie and the user agent is stored at ~/.config/hipda/user-agent, both with 0600 permissions. You can override them per command with HIPDA_COOKIE / --cookie and HIPDA_USER_AGENT / --user-agent.

You can also pass a browser user agent:

HIPDA_USER_AGENT='Mozilla/5.0 ...' uvx --from . hipda list

The CLI disables HTTPS certificate verification by default because 4D4Y often fails from Python environments where Chrome still works. To verify certificates, pass a trusted root certificate and --verify-tls:

uvx --from . hipda --verify-tls --ca-file /path/to/root-ca.pem list

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

hipda-0.1.11.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

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

hipda-0.1.11-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file hipda-0.1.11.tar.gz.

File metadata

  • Download URL: hipda-0.1.11.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hipda-0.1.11.tar.gz
Algorithm Hash digest
SHA256 51982b04aafe0979fc7015e2c7f03467aa4b868272b182e4c8be4abea0390458
MD5 3829e2d1b6f62fb2454a54e5eefffef0
BLAKE2b-256 7c6f5e94b427037a62897a6e0ddd4a177f30dde831dbfbed289d6f2a0dbe5b13

See more details on using hashes here.

Provenance

The following attestation bundles were made for hipda-0.1.11.tar.gz:

Publisher: python-publish.yml on cdpath/hipda

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hipda-0.1.11-py3-none-any.whl.

File metadata

  • Download URL: hipda-0.1.11-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for hipda-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 f878f4325b78a8c38c1f3d46d4329b4475af43c5649d84e4762d4847671967b9
MD5 86963fcbc03e2e1d45409071d632c8f3
BLAKE2b-256 26d9d95be26cd7df597dc29d3a8a871ea250b1e74ae5498e064c0fabddc78f4d

See more details on using hashes here.

Provenance

The following attestation bundles were made for hipda-0.1.11-py3-none-any.whl:

Publisher: python-publish.yml on cdpath/hipda

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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