Skip to main content

Shows and opens links on Hacker news from the terminal

Project description

hnget - Hacker News web scraper

A commandline program for browsing Hacker News.

Hnget Screenshot

Usage

hnget --fetch (--f)

Print the top 30 posts on Hacker News, enumerated. --fetch takes an optional integer value to specify different pages of the results.

hnget --open (--o) [NUMS...]

Open stories in default web browser. Multiple values are accepted. Default web browser can be set with $BROWSER.

hnget --comments (--o) [NUMS...]

Like --open, but view the comment page(s) instead.

hnget --fetch --best

View the top posts for the week instead of the current front page.

Installation

With Pypi:

$ pip install hnget

Manually:

$ git clone https://github.com/jsbmg/hnget

$ cd hnget

$ pip install . pyproject.toml

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

hnget-0.1.91.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

hnget-0.1.91-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file hnget-0.1.91.tar.gz.

File metadata

  • Download URL: hnget-0.1.91.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.15.22_1

File hashes

Hashes for hnget-0.1.91.tar.gz
Algorithm Hash digest
SHA256 70f7b5a5da8860679173a63595d47dddfd89c422900a7d8037141092619c2ba1
MD5 bb73a8cd0925802101eb45b764514e38
BLAKE2b-256 8a01212c2f4307a9eff6e8e0627dd8cf8a0e22245eecc995572d34ceb297a47b

See more details on using hashes here.

File details

Details for the file hnget-0.1.91-py3-none-any.whl.

File metadata

  • Download URL: hnget-0.1.91-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.10.2 Linux/5.15.22_1

File hashes

Hashes for hnget-0.1.91-py3-none-any.whl
Algorithm Hash digest
SHA256 c13c754d44e5758bbcbd4fe514fae8bee0ce7925daff391892bea05b95fa1251
MD5 e66c357e83f01e4449e51e1ffb7198ae
BLAKE2b-256 2c6d3fa69d692d802df96b785eb3975c2d8f2fa6cd79193aff97859d1964886e

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