Skip to main content

CLI reader for 4D4Y/HiPDA Discovery forum posts.

Project description

hipda-cli

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

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

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_cli-0.1.10.tar.gz (11.5 kB view details)

Uploaded Source

Built Distribution

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

hipda_cli-0.1.10-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

Details for the file hipda_cli-0.1.10.tar.gz.

File metadata

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

File hashes

Hashes for hipda_cli-0.1.10.tar.gz
Algorithm Hash digest
SHA256 77bcd26b380a35a1ca4551c97762818cb8fa3b56be086362461922c65eefe108
MD5 32b09b6d7881a5a875049db9375f94ee
BLAKE2b-256 bd13bcfb0ccacd45e22111a71df08a5b53969f6fc6be4adb0bd0ea7cc6beeddf

See more details on using hashes here.

Provenance

The following attestation bundles were made for hipda_cli-0.1.10.tar.gz:

Publisher: python-publish.yml on cdpath/hipda-cli

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_cli-0.1.10-py3-none-any.whl.

File metadata

  • Download URL: hipda_cli-0.1.10-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_cli-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 a8dd1fc37807f28fc8c4b33638a044fc810ba686025bb4bcd9a8e862a25583df
MD5 6840804eb67ffded7ab0df005e145da6
BLAKE2b-256 202965d40989ced3e01e4bdf201d7077aa3bbd870758cea90a49bb014305ef1f

See more details on using hashes here.

Provenance

The following attestation bundles were made for hipda_cli-0.1.10-py3-none-any.whl:

Publisher: python-publish.yml on cdpath/hipda-cli

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