kirinuki-cli
Convert any html to JSON using CSS selectors.
Last updated 3 months ago by rike422 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install kirinuki-cli 
SYNC missed versions from official npm registry.

kirinuki-cli

Convert any html to JSON using CSS selectors.

oclif Version Downloads/week License

Sample

jo -B topics="$(jo -B title="$(jo -a .storylink text)" link=.storylink _unfold=true )" | xargs -0 kirinuki scrape https://news.ycombinator.com/ | jq .`

gif

Usage

$ npm install -g kirinuki-cli
$ kirinuki COMMAND
running command...
$ kirinuki (-v|--version|version)
kirinuki-cli/0.0.1 darwin-x64 node-v8.9.4
$ kirinuki --help [COMMAND]
USAGE
  $ kirinuki COMMAND
...

Commands

kirinuki help [COMMAND]

display help for kirinuki

USAGE
  $ kirinuki help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

kirinuki scrape URL SCHEMA

Scrape website by kirinuki-schema(https://github.com/rike422/kirinuki-core)

USAGE
  $ kirinuki scrape URL SCHEMA

ARGUMENTS
  URL     scrape target url
  SCHEMA  scrape rules, please refer to https://github.com/rike422/kirinuki-core

OPTIONS
  -h, --help  show CLI help

See code: src/commands/scrape.ts

Current Tags

  • 0.1.0                                ...           latest (3 months ago)

2 Versions

  • 0.1.0                                ...           3 months ago
  • 0.0.1                                ...           4 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (7)
Dev Dependencies (26)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |