This script is for to scrap a movie's title, rating and duration.
Of course with this script you can get other parameters from the movie's page.
Usage: yarn scrap:imdb --movie-name--
or npm run scrap:imdb --movie-name--
Ex: yarn scrap:imdb godfather
Now also added the support for writing to a file with yarn scrap:imdb:write-to-a-file --movie-name
This will generate a file called movie.json
and you can delete this file with yarn delete:movie-json