1.0.2 • Published 7 months ago

imdb-webscraper v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
7 months ago

imdb-webscraper

{ status: "success" | "error" , data:Object | null , error: null | string }

Exception handeling

If package encounters any error, it will return error details and data field will be null. You can use status or error fields to find out if any error has been occurred.

Invoke

const { getMovieByImdbId, getMovieByTitle } = require("imdb-webscraper");

const getMovies = async () => {
  //get movie by imdbId
  console.log(await getMovieByImdbId("tt5950044"));
  //get movie data with title
  console.log(await getMovieByTitle("Superman (2025)"));
};

getMovies();

Support

I you have any issue just let us know. If this package needs any update, our team will do it.

1.0.2

7 months ago

1.0.1

7 months ago

1.0.0

7 months ago