Giter Club home page Giter Club logo

moviescore's Introduction

MovieScore

MIT Licence Open Source Love Go Reportcard Bash Shell

Show me what it does!

asciicast

What Does It Do?

A Cli utility written in go language to get movie ratings , Trailer Links and reviews from the internet. Right into your Terminal!

It gets A whole lot of information about the Movie such as

  • Director
  • Cast
  • Year
  • Release Date
  • Rated
  • Genre
  • Poster
  • Metascore ratings
  • Awards
  • Plot
  • Movie Trailer
  • IMDB rating
  • Rotten Tomatoes Rating

with the -r flag

  • Rotten tomatoes reviews

with the -pg flag

  • Parental guide from IMDB

How to Use it?

Its Super Simple!

For all the movie information

moviescore "The Dark Knight"

will give you the following

------------------------------------------------------
  __  __            _         _____                    
 |  \/  |          (_)       / ____|                   
 | \  / | _____   ___  ___  | (___   ___ ___  _ __ ___
 | |\/| |/ _ \ \ / / |/ _ \  \___ \ / __/ _ \| '__/ _ \
 | |  | | (_) \ V /| |  __/  ____) | (_| (_) | | |  __/
 |_|  |_|\___/ \_/ |_|\___| |_____/ \___\___/|_|  \___|
------------------------------------------------------

 Movie Name: The Dark Knight
 Director: Christopher Nolan
 Cast: Christian Bale, Heath Ledger, Aaron Eckhart, Michael Caine
 Year: 2008
 Released: 18 Jul 2008
 Rated: PG-13
 Genre: Action, Crime, Drama
 Poster: https://images-na.ssl-images-amazon.com/images/M/MV5BMTMxNTMwODM0NF5BMl5BanBnXkFtZTcwODAyMTk2Mw@@._V1_SX300.jpg
 Metascore Rated: 82
 Awards: Won 2 Oscars. Another 146 wins & 142 nominations.
 Plot: Set within a year after the events of Batman Begins, Batman, Lieutenant James Gordon, and new district attorney Harvey Dent succ
essfully begin to round up the criminals that plague Gotham City until a mysterious and sadistic criminal mastermind known only as the
Joker appears in Gotham, creating a new wave of chaos. Batman's struggle against the Joker becomes deeply personal, forcing him to "con
front everything he believes" and improve his technology to stop him. A love triangle develops between Bruce Wayne, Dent and Rachel Daw
es.
 Movie Trailer: https://www.youtube.com/embed/YoHD9XEInc0
 Ratings from IMDB and Rotten Tomatoes---
 IMDB Rating: 9.0
 Rotten Tomatoes Rating: 94% (Certified Fresh!)

For reviews

moviescore -r "The Dark Knight"

will give you

------------------------------------------------------
  __  __            _         _____                    
 |  \/  |          (_)       / ____|                   
 | \  / | _____   ___  ___  | (___   ___ ___  _ __ ___
 | |\/| |/ _ \ \ / / |/ _ \  \___ \ / __/ _ \| '__/ _ \
 | |  | | (_) \ V /| |  __/  ____) | (_| (_) | | |  __/
 |_|  |_|\___/ \_/ |_|\___| |_____/ \___\___/|_|  \___|
------------------------------------------------------

 Reviews from rt
 -------------------
The Dark Knight is probably the smartest and most stylish action movie since the "The Matrix." It thinks and philosophizes. The subject
 it thinks and philosophizes about, perhaps not surprisingly, considering the times, is the Iraq war.
 -------------------
An exceptionally smart, brooding picture with some terrific performances.
 -------------------
and many more(shortened for readme)........

For Parental Guide

moviescore -pg inception

will result

------------------------------------------------------
__  __            _         _____                    
|  \/  |          (_)       / ____|                   
| \  / | _____   ___  ___  | (___   ___ ___  _ __ ___
| |\/| |/ _ \ \ / / |/ _ \  \___ \ / __/ _ \| '__/ _ \
| |  | | (_) \ V /| |  __/  ____) | (_| (_) | | |  __/
|_|  |_|\___/ \_/ |_|\___| |_____/ \___\___/|_|  \___|
------------------------------------------------------

Parental Guide:
Reference Url:  http://www.imdb.com/title/tt1375666/parentalguide
Sex and Nudity 
  No sex or nudity is shown.Cobb and Saito first meet in a "love nest" where Saito frequently meets his lover - a relationship he's
  managed to keep secret in his waking life.We see people kiss, and one character uses subterfuge to steal a kiss.A couple of women
  wear low-cut tops.
Violence And Gore
  The only blood shown in this film is when a man is shot in the chest about halfway through the movie, where we see red seep through a
  man's shirt as he coughs up flecks of bloodViolence in Inception is tricky to tally. At times we see real men get hurt or killed. But
  much of the violence is perpetuated in dream worlds, where the people we see are not real, but manifestations of the subject's
  subconscious. As a result, the "real" body count is surprisingly low (at least for a film that wields this much intensity), while
  metaphysical fatalities run off the chart.Merging both categories, people are punched, kicked, choked, shot (scores of times),
  stabbed, hit by cars (several times), blown up, attacked by rampaging mobs, almost buried by avalanches and nearly drowned. Somebody
  gets shot in the foot just to illustrate that, while dying in a dream state is difficult, pain is all too easy to come
  by.The visceral feel of the violence is about what you'd expect for a PG-13 movie and, frankly, maybe a step back from a
  prime-time actioner on television. The mayhem is practically bloodless, and it's perpetrated with a certain, almost chilly,
  remove.When someone wants to exit a dream, they simply "kill" themselves or have someone do it for them. Cobb, for instance,
  shoots one of his compadres in the head to wake him up. (We see a bloodless hole in his forehead briefly.)Because the
  sensation of falling can jar someone awake, folks routinely engineer the end of their dreams by plummeting off bridges,
  jumping out of tall buildings or cutting loose elevator cables. One character throws another off a cliff.A scene is shown
  several times where a man and woman are lying on a train track with the intention of committing suicide.
Profanity
  8 uses of hell, 4 uses of god damn it , 2 uses of Jesus Christ, 2 uses of asshole , 2 uses of damn, 2 uses of bloody,2 uses of for
  god's sake,2 uses of Jesus, 1 use of bastards, 1 use of god damn.
Alcohol/Drugs/Smoking
  People drink wine and beer. Intravenous drug sedatives and other mysterious concoctions are required to put people into these dreamlike
  states.A character has lost his ability to dream normally, and so he repeatedly hooks himself up to delve into his own haunting dream
  world.
Frightening/Intense Scenes
  This film has an intense atmosphere throughout. The second half of the film is especially intense.In a dream, people hold a woman
  while another woman walks up and stabs her. She wakes up before you can see any harm done. This scene is unexpected and can frighten
  some.A woman shoots a man's leg to torture him.A train unexpectedly crashes into a car with people in it.A street starts
  exploding.(in a
  dream)A woman jumps off a building, believing it to be a dream and thinking she will wake up. (The concept of her believing the
  world to be a dream, and that she has to kill herself, can be quite frightening)The action is intense at times. People die. (see
  violence/gore)The concept of the dream-levels in the movie, and the fact that you might not be sure if the characters are dreaming
  or not, might frighten some viewers.The suicide of a character because he/she thought he/she were in a dream may be disturbing to
  some viewers.BBFC - (12A) Moderate violence.

For some A year argument is required. For example searching for arrival, rotten tomatoes rating will not be shown and reviews will not work. In that case

moviescore -y 2016 "arrival"

will work!

How to install

If you have go language on your system, then

go get github.com/bharatkalluri/moviescore
cd $GOPATH/src/github.com/bharatkalluri/moviescore
go install

and you are good to go!

Have any ideas?

Feel free to contact me at [email protected]

Note

All the information belongs to the respective owners. The information is just being scraped from the publicly available web pages.

moviescore's People

Contributors

bharatkalluri avatar oylenshpeegul avatar popey avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

moviescore's Issues

Error: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in array or slice literal

I'm getting an error when I try to pull using go get

Environment

# go version
go version go1.12.9 linux/amd64

Error

# go get github.com/bharatkalluri/moviescore
# github.com/bharatkalluri/moviescore
src/github.com/bharatkalluri/moviescore/main.go:18:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in array or slice literal:
	cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
src/github.com/bharatkalluri/moviescore/main.go:22:15: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in array or slice literal:
	cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
src/github.com/bharatkalluri/moviescore/main.go:26:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal:
	cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
#

Name and Year Lookups Not Functioning

Acknowledgement / Overview

I realize that moviescore has not had a commit since 2017 and that it's likely not being actively maintained. I wanted to point out that it looks like some of the functions are no longer working properly.

I have used the examples from the README to illustrate.

Environment

# go version
go version go1.12.9 linux/amd64
# moviescore --version
moviescore version 0.1
#

Moviescore Failures

Name Fails

# moviescore "The Dark Knight"

------------------------------------------------------
  __  __            _         _____
 |  \/  |          (_)       / ____|
 | \  / | _____   ___  ___  | (___   ___ ___  _ __ ___
 | |\/| |/ _ \ \ / / |/ _ \  \___ \ / __/ _ \| '__/ _ \
 | |  | | (_) \ V /| |  __/  ____) | (_| (_) | | |  __/
 |_|  |_|\___/ \_/ |_|\___| |_____/ \___\___/|_|  \___|
------------------------------------------------------

The Movie Does not seem to exist!
Tip: If you are using spaces in your film name, enclose the movie name in double quotes!
#

Year Value Fails

# moviescore -y 2016 "arrival"

------------------------------------------------------
  __  __            _         _____
 |  \/  |          (_)       / ____|
 | \  / | _____   ___  ___  | (___   ___ ___  _ __ ___
 | |\/| |/ _ \ \ / / |/ _ \  \___ \ / __/ _ \| '__/ _ \
 | |  | | (_) \ V /| |  __/  ____) | (_| (_) | | |  __/
 |_|  |_|\___/ \_/ |_|\___| |_____/ \___\___/|_|  \___|
------------------------------------------------------

The Movie Does not seem to exist!
Tip: If you are using spaces in your film name, enclose the movie name in double quotes!
#

Moviescore Successes

--reviews Succeeds

# moviescore -r "The Dark Knight"

------------------------------------------------------
  __  __            _         _____
 |  \/  |          (_)       / ____|
 | \  / | _____   ___  ___  | (___   ___ ___  _ __ ___
 | |\/| |/ _ \ \ / / |/ _ \  \___ \ / __/ _ \| '__/ _ \
 | |  | | (_) \ V /| |  __/  ____) | (_| (_) | | |  __/
 |_|  |_|\___/ \_/ |_|\___| |_____/ \___\___/|_|  \___|
------------------------------------------------------

 Reviews from RT!
You will feel utterly numb after the screening of The Dark Knight. The film is bleak and brilliant.
 -------------------
To talk of Heath Ledger's performance is difficult, merely because, as gigantic as it is, it is only one important feature of an intricately wrought canvas.
 -------------------
The Dark Knight is probably the smartest and most stylish action movie since the "The Matrix." It thinks and philosophizes. The subject it thinks and philosophizes about, perhaps not surprisingly, considering the times, is the Iraq war.
 -------------------
An exceptionally smart, brooding picture with some terrific performances.
 -------------------
The Dark Knight is a film that's fantastic on the action front, seeds its acrobatics in its own reality, and always feels relevant even when its ideas are drowned out by clatter.
 -------------------
Christopher Nolan is much, much smarter than your average filmmaker.
 -------------------
The definitive movie of its genre and the best Batman film to date
 -------------------
Heath Ledger is great.
 -------------------
Not just a perfect comic book movie, not just a perfect Batman movie, but darn-near a perfect movie, full stop.
 -------------------
The movie's a real neo-noir all right, wallowing in darkness, thrilled with how bad we are, and getting such a kick out of our impending doom it cheers you right up.
 -------------------
A film is only as good as its villain. By that standard, The Dark Knight achieves true greatness.
 -------------------
The Dark Knight always ought to be played on the biggest screen possible, and played loud, like a Led Zepplin song. Director Christopher Nolans' skyscapes, the helicopter shots and views from the 200th floor, are IMAX at its best.
 -------------------
# 

Parental Guide Succeeds

moviescore -pg inception

------------------------------------------------------
  __  __            _         _____
 |  \/  |          (_)       / ____|
 | \  / | _____   ___  ___  | (___   ___ ___  _ __ ___
 | |\/| |/ _ \ \ / / |/ _ \  \___ \ / __/ _ \| '__/ _ \
 | |  | | (_) \ V /| |  __/  ____) | (_| (_) | | |  __/
 |_|  |_|\___/ \_/ |_|\___| |_____/ \___\___/|_|  \___|
------------------------------------------------------

 Parental Guide:
Reference Url:  http://www.imdb.com/title//parentalguide
 Sex and Nudity

 Violence And Gore

 Profanity

 Alcohol/Drugs/Smoking

 Frightening/Intense Scenes
#

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.