//GetImdbRatings function takes the moviename as argument and returns the json result from the omdbapi
GetImdbRatings function takes the moviename as argument and returns the json result from the omdbapi
// GetImdbRatings function takes the moviename as argument and returns the json result from the omdbapi
func GetImdbRatings(mname string) ImdbMovie {
	movieName := strings.Replace(mname, " ", "+", 9)
	movieInfo := new(ImdbMovie)
	err := GetJSON("http://www.omdbapi.com/?t="+movieName+"&plot=full", movieInfo)
	LogError(err)
	return *movieInfo
}
func GetImdbRatings ( mname string ) ImdbMovie { movieName := strings . Replace ( mname , " " , " " , 9 ) movieInfo := new ( ImdbMovie ) err := GetJSON ( " " + movieName + " " , movieInfo ) LogError ( err ) return * movieInfo }
GetImdbRatings function takes the moviename as argument and returns the json result from the omdbapi
GetImdbRatings function takes the moviename as argument and returns the json result from the omdbapi