🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

nrk-tv-cli

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nrk-tv-cli

Command line client for interacting with TV programs from the Norwegian Broadcasting Corporation (NRK)

latest
Source
npmnpm
Version
1.3.0
Version published
Maintainers
1
Created
Source

NRK TV CLI

Build status NPM downloads NPM version Node version Dependency status

Command line client (CLI) for interacting with TV programs from the Norwegian Broadcasting Corporation (NRK) built on top of the open source package nrk for Node.js.

Install

This program requires Node.js v4 or later installed. ImageMagick is used to render thumbnail images inside the terminal.

$ npm install nrk-tv-cli

Features

  • Search through all of NRK TV
  • List episodes for TV series
  • List episode details
    • Render thumbnail image
    • Nice tabular layout view
  • Download episode m3u8 playlist
  • Output JSON

Usage

$ nrk-tv-cli --help

Usage: nrk-tv-cli <command> [options]

command     
  version      show package versions
  search       Search all of NRK TV
  episodes     List series episodes
  episode      Get series episode

Options:
   -x, --no-geo-block   Only show items without geo-block
   -a, --avaiable       Only show items which are avaiable
   -v, --verbose        Output verbose information
   -J, --json           Output as JSON

Command line client for interacting with TV programs from the Norwegian Broadcasting Corporation (NRK)
$ nrk-tv-cli search --help

Usage: nrk-tv-cli search <query> [options]

query     Search query string

Options:
   -x, --no-geo-block   Only show items without geo-block
   -a, --avaiable       Only show items which are avaiable
   -v, --verbose        Output verbose information
   -J, --json           Output as JSON
   -t, --type           Restrict results to given program types

Search all of NRK TV

Episodes

$ nrk-tv-cli episodes --help

Usage: nrk-tv-cli episodes <id> [options]

id     Series id to get episodes for

Options:
   -x, --no-geo-block   Only show items without geo-block
   -a, --avaiable       Only show items which are avaiable
   -v, --verbose        Output verbose information
   -J, --json           Output as JSON
   -s, --season         Limit episodes to given season
   --only-seasons       Only list seasons and no episodes

List series episodes

Episode

$ nrk-tv-cli episode --help

Usage: nrk-tv-cli episode <id> [options]

id     Episode ID to get details for

Options:
   -x, --no-geo-block   Only show items without geo-block
   -a, --avaiable       Only show items which are avaiable
   -v, --verbose        Output verbose information
   -J, --json           Output as JSON
   --show-image         Show episode image
   --save-m3u PATH      Save m3u playlist files to PATH

Get series episode

NRK is a registered trademark of the Norwegian Broadcast Corporation which is not affiliated with this product. Content from NRK APIs may be copyrighted.

MIT Licensed

Keywords

NRK

FAQs

Package last updated on 17 May 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts