worr / node-imdb-api

A non-scraping, functional node.js interface to imdb (mirror of gitlab.com/worr/node-imdb-api)
https://gitlab.com/worr/node-imdb-api
338 stars 50 forks source link

Get one episode #89

Open SubJunk opened 3 years ago

SubJunk commented 3 years ago

The OMDb API gives the ability to get a single episode (e.g. https://www.omdbapi.com/?t=Homeland&plot=full&r=json&season=1&episode=1&apikey=) and it would be useful to be able to do that with this module too. Is that something you would consider @worr ?

Consider that right now, in order to get information about one episode, I need to do many requests - do a series lookup, then use episodes() which does a request for every season. Some TV series have 30+ seasons so that quickly adds up, and those requests are performed in parallel which can lead to network saturation.