class ScoreFetcher

Defined in:

score_fetcher.cr

Constant Summary

IMDB_URL = "https://www.imdb.com"
OMDB_URL = "https://www.omdbapi.com/"

Constructors

Instance Method Summary

Constructor Detail

def self.new(movie, omdb_api_key : String) #

[View source]

Instance Method Detail

def abort(error_message) #

[View source]
def channels : {progress: Channel(Nil), omdb: Channel(Nil), imdb: Channel(Nil), rotten_tomatoes: Channel(Nil)} #

[View source]
def fetch_imdb #

scrape the score from the imdb website, as the value in omdb is not really up-to-date


[View source]
def fetch_omdb #

[View source]
def fetch_tomato #

try to scrape the score from the rotten tomatoes website, as the value in omdb is not really up-to-date


[View source]
def links(*args, **options) #

[View source]
def links(*args, **options, &) #

[View source]
def missing_scores! #

[View source]
def movie(*args, **options) #

[View source]
def movie(*args, **options, &) #

[View source]
def omdb_api_key : String #

[View source]
def result : OutputResult #

[View source]
def run #

[View source]