npm

Bring the best of OSS JavaScript development to your projects with npm Orgs - private packages & team management tools.Learn more »

paulmbw-hackernews-scrapper

1.0.0 • Public • Published

@paulmbw/hackernews-scrapper

A simple CLI tool for scrapping posts on hackernews.com

Installing

Using npm:

$ npm i @paulmbw/hackernews-scrapper

Usage

$ hackernews-scrapper --posts 50

You should be getting a similar output to the one shown below:

{ by: 'yoaviram',
    descendants: 1,
    id: 18147031,
    kids: [ 18147033 ],
    score: 12,
    time: 1538735685,
    title: 'Show HN: Get organisations to erase your personal data (automated GDPR requests)',
    type'story',
    url: 'https://opt-out.eu/' },
  { by: 'zubairq',
    descendants: 4,
    id: 18132526,
    kids: [ 18132544 ],
    score: 2,
    time: 1538587602,
    title: 'Show HN: Build web based SQLite apps and compile to a single HTML file',
    type'story',
    url: 'http://appshare.co' }
    ...
    ...]

install

npm i paulmbw-hackernews-scrapper

Downloadsweekly downloads

0

version

1.0.0

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability