Shows and opens links on Hacker news from the terminal
Project description
hnget - Hacker News web scraper
A commandline program for browsing Hacker News.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
70f7b5a5da8860679173a63595d47dddfd89c422900a7d8037141092619c2ba1
|
|
| MD5 |
bb73a8cd0925802101eb45b764514e38
|
|
| BLAKE2b-256 |
8a01212c2f4307a9eff6e8e0627dd8cf8a0e22245eecc995572d34ceb297a47b
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c13c754d44e5758bbcbd4fe514fae8bee0ce7925daff391892bea05b95fa1251
|
|
| MD5 |
e66c357e83f01e4449e51e1ffb7198ae
|
|
| BLAKE2b-256 |
2c6d3fa69d692d802df96b785eb3975c2d8f2fa6cd79193aff97859d1964886e
|