0.1.0 • Published 7 years ago

whats-on-tv v0.1.0

Weekly downloads
5
License
MIT
Repository
github
Last release
7 years ago

What's on TV?

Irish TV Guide with a CLI.

The program scrapes the listings from entertainment.ie using predefined values in the channel-list.json file. The keys are channel names which users can use to get listings but they also correspond to an entertainment.ie URL as do the values. An example URL is as follows http://entertainment.ie/TV_Listing/13-February-2017/82/RTE-2.htm where RTE-2 would be an example key and 82 would be the corresponding value in the JSON file.

Installation

cd {path-to-repo}
npm link

Usage

You must first find the exact channel name in channel-list.json.

whatson RTE-2

Get listings for now or next

whatson RTE-2 now
whatson RTE-2 next

Get listings for tomorrow

whatson RTE-2 tomorrow