def search_by_alias(alias_id, type='imdb')
      movie = @badfruit.get_movie_alias_info(alias_id, type)
      json = JSON.parse(movie)
      raise 'Movie not found' if !json['error'].nil?
      @badfruit.parse_movie_array(json)
    end
def search_by_alias(alias_id, type='imdb')
      movie = @badfruit.get_movie_alias_info(alias_id, type)
      json = JSON.parse(movie)
      raise 'Movie not found' if !json['error'].nil?
      @badfruit.parse_movie_array(json)
    end
Search for a movie by way of a 3rd party id.

 @param [String] alias_id The alias id of the movie.
 @param [String] type The type of alias id that is being provided. (Defaults to 'imdb')

 @return [BadFruit::Movie] A movie object representing the 3rd party id.
 @note Currently only 'imdb' as a type is supported.