import media
import fresh_tomatoes

# movie objects created using the meida module
star_wars_tfa = media.Movie(
    "Star Wars: The Force Awakens",
    "Following a new set of heroes Rey and Finn search for the last jedi, Luke"
    "Skywalker.",
    "https://upload.wikimedia.org/wikipedia/en/a/a2/Star_Wars_The_Force_Awak"
    "ens_Theatrical_Poster.jpg",
    "https://www.youtube.com/watch?v=sGbxmsDFVnE"
    )
evil_dead = media.Movie(
    "Evil Dead",
    "Attempting to cure his sisters heroin addiction a group of friends find"
    "more than they bargain for in a mysterious cabin which is home to an"
    "evil book.",
    "https://upload.wikimedia.org/wikipedia/en/9/9d/EvilDead2013Poster.jpg",
    "https://www.youtube.com/watch?v=FKFDkpHCQz4"
    )
black_mass = media.Movie(
    "Black Mass",
    "Following the criminal career of real-life criminal entrepreneur Whitey B"
    "ulger.",
    "https://upload.wikimedia.org/wikipedia/en/c/c0/Black_Mass_%28film%29_post"
    "er.jpg",
    "https://www.youtube.com/watch?v=CE3e3hGF2jc"
    )

# this is the list of movies
movies = [star_wars_tfa, evil_dead, black_mass]
# calling function to open page
fresh_tomatoes.open_movies_page(movies)

import media
import fresh_tomatoes

# movie objects created using the meida module
star_wars_tfa = media.Movie(
    "Star Wars: The Force Awakens",
    "Following a new set of heroes Rey and Finn search for the last jedi, Luke"
    "Skywalker.",
    "https://upload.wikimedia.org/wikipedia/en/a/a2/Star_Wars_The_Force_Awak"
    "ens_Theatrical_Poster.jpg",
    "https://www.youtube.com/watch?v=sGbxmsDFVnE"
    )
evil_dead = media.Movie(
    "Evil Dead",
    "Attempting to cure his sisters heroin addiction a group of friends find"
    "more than they bargain for in a mysterious cabin which is home to an"
    "evil book.",
    "https://upload.wikimedia.org/wikipedia/en/9/9d/EvilDead2013Poster.jpg",
    "https://www.youtube.com/watch?v=FKFDkpHCQz4"
    )
black_mass = media.Movie(
    "Black Mass",
    "Following the criminal career of real-life criminal entrepreneur Whitey B"
    "ulger.",
    "https://upload.wikimedia.org/wikipedia/en/c/c0/Black_Mass_%28film%29_post"
    "er.jpg",
    "https://www.youtube.com/watch?v=CE3e3hGF2jc"
    )

# this is the list of movies
movies = [star_wars_tfa, evil_dead, black_mass]
# calling function to open page
fresh_tomatoes.open_movies_page(movies)

# movie objects created using the meida module # this is the list of movies # calling function to open page