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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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