# This Python file uses the following encoding: utf-8

"""Running this module through command python entertainment_center.py
will render page with listed movies.
This module is also responsible for instantiating objects of the class
Movie, appending them to a list, and passing the list to the
open_movies_page function from the module fresh_tomatoes"""

# importing class Movie from module media in order to instantiate Movie Objects
import media

# importing fresh_tomatoes to render html through the open_movies_page function
import fresh_tomatoes

# instantiating objects of class Movie
the_lure = media.Movie("The Lure",
                       "familiar drama about a young couple torn "
                       "between individual dreams and professional desires",
                       "http://img.goldposter.com/2016/05/The-Lure_poster_g"
                       "oldposter_com"
                       "_1.jpg?x-oss-process=image/resize,m_fill,h_800,w_53"
                       "5/quality,q_80",
                       "https://www.youtube.com/watch?v=WgWe9QVqrl0")

icaros_a_vision = media.Movie("Icaros, a vision",
                              "A journey into the deep, dark regions of "
                              "the Amazonian wild",
                              "https://m.media-amazon.com/images/M/MV5BM"
                              "mMxYjk5MzItNzA5NC00MzVhLWIxMDAtNTg0YWMyNm"
                              "M3Y2Q0XkEyXkFqcGdeQXVyNjU0ODQxODk@._V1_UY"
                              "1200_CR109,0,630,1200_AL_.jpg",
                              "https://www.youtube.com/watch?v=54fv-tP7cDg")

thelma = media.Movie("Thelma",
                     "A girl with unholy powers—albeit one that still"
                     " plays in a decidedly Trier-ian register",
                     "http://img.goldposter.com/2017/09/thelma_poster"
                     "_goldposter_com_4.jpg?x-oss-process=image/resiz"
                     "e,m_fill,h_800,w_600/quality,q_80",
                     "https://www.youtube.com/watch?v=vgQMHG9SGlU")

city_of_ghosts = media.Movie("City of Ghosts",
                             "ISIS has claimed the Syrian city of Raq"
                             "qa as the capital of its so-called Cali"
                             "phate—and, at the same time, been oppos"
                             "ed by a band of local \"citizen journal"
                             "ists\"",
                             "https://cdn1.theyoungfolks.com/wp-conte"
                             "nt/uploads/2017/04/27015809/cityofghost"
                             "s-770x770.jpg",
                             "https://www.youtube.com/watch?v=jBeqGcM"
                             "aC-A")

alien_covenant = media.Movie("Alien: Covenant",
                             "A familiar battle between human coloni"
                             "sts and angry xenomorphs, after the fo"
                             "rmer decide to investigate a mysteriou"
                             "s distress signal from a nearby planet.",
                             "https://www.otakupt.com/wp-content/upl"
                             "oads/2017/03/Covenast.jpg",
                             "https://www.youtube.com/watch?v=svnAD0"
                             "TApb8")

super_dark_times = media.Movie("Super Dark Times",
                               "Horrifying truths about teen boys’ ca"
                               "pacity for chaos.",
                               "https://3.bp.blogspot.com/-3WVzL1R_Wr"
                               "U/WmyHlpt1mAI/AAAAAAAABGY/EdoVEkyTesY"
                               "X_DOrOVLFjerGLr1hqxnQACLcBGAs/s1600/S"
                               "UPER_DARK_TIMES_POSTER.jpg",
                               "https://www.youtube.com/watch?v=qG0af"
                               "8nliCE")

the_square = media.Movie("The Square",
                         "Museum Director inds himself at the center "
                         "of a personal maelstrom thanks to, among ot"
                         "her things, a marketing campaign.",
                         "https://m.media-amazon.com/images/M/MV5BODl"
                         "jYTUxYzktNzlkYS00OTc1LWE5ZWEtZTgwNTY0MzdlNz"
                         "M4XkEyXkFqcGdeQXVyNTM2NTg3Nzg@._V1_SY1000_C"
                         "R0,0,712,1000_AL_.jpg",
                         "https://www.youtube.com/watch?v=EUzRjRv0Ib0")

atomic_blonde = media.Movie("Atomic Blonde",
                            "Theron's MI6 spy navigating a sea of Ber"
                            "lin duplicity on a mission to learn why "
                            "her espionage cohort-lover was murdered.",
                            "https://3.bp.blogspot.com/-AI6ggzIuLaY/W"
                            "MQdL5sJXNI/AAAAAAAA10A/jLNNT1E_RacEDR4Fd"
                            "gluctj4d80jSRVewCLcB/s1600/atomic-blonde"
                            "-poster.jpg",
                            "https://www.youtube.com/watch?v=d1mlDaiF"
                            "x-s")

lady_bird = media.Movie("Lady Bird",
                        "A Catholic high school senior who longs to e"
                        "scape her stultifying lower-middle-class Sac"
                        "ramento environs for East Coast college life.",
                        "https://http2.mlstatic.com/postercartaz-filme"
                        "-lady-bird-hora-de-voar-D_NQ_NP_906370-MLB268"
                        "67443950_022018-F.jpg",
                        "https://www.youtube.com/watch?v=cNi_HC839Wo")

lucky = media.Movie("Lucky",
                    "Smoking like a chimney and dispensing wisdom with"
                    " off-hand profundity, Stanton’s Lucky is an aged "
                    "loner living in the middle of the desert, his lif"
                    "e spent puffing on cancer sticks, exercising, wat"
                    "ching game shows, and hanging out at the local ba"
                    "r with, among other regulars.",
                    "http://www.vortexcultural.com.br/images/2018/04/L"
                    "ucky-poster.jpg",
                    "https://www.youtube.com/watch?v=2KLLkj84GAo")

good_time = media.Movie("Good Time",
                        "In this breakneck nocturnal thriller, Pattins"
                        "on is Connie, a low-level hood who finds hims"
                        "elf on a desperate search for bailout cash af"
                        "ter a bank robbery goes awry and his accompli"
                        "ce—his mentally challenged brother Nick —is a"
                        "rrested and given a one-way ticket to Rikers "
                        "Island.",
                        "https://i.pinimg.com/originals/bc/f1/f8/bcf1f"
                        "8e3c700bf311e29641d7171721e.jpg",
                        "https://www.youtube.com/watch?v=nrR-SbCRgCU")

the_killing_of_a_sacred_deer = media.Movie("The Killing of a Sacred De"
                                           "er",
                                           "A pitch-black comedy of mi"
                                           "sery whose laughs spring f"
                                           "orth from the mounting ins"
                                           "anity of its story",
                                           "https://3.bp.blogspot.com/"
                                           "-sI3-9p6ix-I/WZoMMol4M6I/A"
                                           "AAAAAAA2T0/v95h6OwiZ2c9_dN"
                                           "IarFORn4q6CrI0DBgACLcBGAs/"
                                           "s1600/killing-sacred-deer."
                                           "jpg",
                                           "https://www.youtube.com/wa"
                                           "tch?v=CQFdGfwChtw")

dawson_city = media.Movie("Dawson City: Frozen Time",
                          "Hundreds of reels of silent movies—those th"
                          "at were buried in a swimming pool, rather t"
                          "han just tossed into the Yukon River—were u"
                          "nearthed in 1978 in the northern Canadian t"
                          "own of Dawson City.",
                          "http://br.web.img3.acsta.net/r_1280_720/pic"
                          "tures/17/01/31/15/39/015417.jpg",
                          "https://www.youtube.com/watch?v=oEbHM8Vsvlo")

the_blackcoats_daughter = media.Movie("The Blackcoat's Daughter",
                                      "In upstate New York, Kat is lef"
                                      "t by her parents to spend winte"
                                      "r break at her boarding school "
                                      "alongside more popular Rose.",
                                      "https://m.media-amazon.com/imag"
                                      "es/M/MV5BMTY2NTQ3NTEzNF5BMl5Ban"
                                      "BnXkFtZTgwMzA0MzY1OTE@._V1_UY12"
                                      "00_CR90,0,630,1200_AL_.jpg",
                                      "https://www.youtube.com/watch?v"
                                      "=pRc_-iK3RVE")

i_called_him_morgan = media.Movie("I Called Him Morgan",
                                  "Lee Morgan was one of the mid-centu"
                                  "ry jazz scene's brightest lights, u"
                                  "ntil his life was cut tragically sh"
                                  "ort when his wife Helen fatally gun"
                                  "ned him down in a New York.",
                                  "http://br.web.img3.acsta.net/r_1280"
                                  "_720/pictures/17/01/10/19/12/435203"
                                  ".jpg",
                                  "https://www.youtube.com/watch?v=yxL"
                                  "ByThNvWU")

the_lost_city_of_z = media.Movie("The Lost City of Z",
                                 "Early 20th century British explorer "
                                 "sets out to locate a lost South Amer"
                                 "ican civilization that he believed t"
                                 "o be more advanced than any previous"
                                 "ly discovered.",
                                 "http://vertentesdocinema.com/wp-cont"
                                 "ent/uploads/2017/06/the-lost-city-of"
                                 "-z-poster.jpg",
                                 "https://www.youtube.com/watch?v=wwjt"
                                 "dOqTmrA")

phantom_thread = media.Movie("Phantom Thread",
                             "An enthralling, rapturous psychodrama se"
                             "t in the world of 1950s London high fash"
                             "ion, the duo’s latest collaboration star"
                             "s Day-Lewis as Reynolds Woodcock, a cele"
                             "brated dressmaker who lives by a prim-an"
                             "d-proper daily (and artistic) routine.",
                             "https://i.pinimg.com/originals/63/02/2f/"
                             "63022ff9113f3acbc8a1c11d7a1a9a12.jpg",
                             "https://www.youtube.com/watch?v=xNsiQMeS"
                             "vMk")

i_dont_feel_at_home = media.Movie("I Don't Feel At Home",
                                  "After her house is burglarized, nur"
                                  "se Ruth partners with her rat-taile"
                                  "d martial-arts-loving neighbor Tony"
                                  " to recover her stolen belongings",
                                  "https://3.bp.blogspot.com/-m52RBWWN"
                                  "e0o/WWV1UgGPJgI/AAAAAAAACaE/RatEwwz"
                                  "hyuMfwO1CyJjFGqh5CZIg5yovwCLcBGAs/s"
                                  "1600/i-dont-feel-at-home-in-this-wo"
                                  "rld-anymore-590e339849de9.jpg",
                                  "https://www.youtube.com/watch?v=a89"
                                  "1D5_bGY4")

columbus = media.Movie("Columbus",
                       "As strikingly unique as the Indiana buildings "
                       "its characters visit, Columbus is a boy-meets-"
                       "girl tale that cares less for romance than for"
                       " the unlikely, intrinsic ties that bind seemin"
                       "gly disparate souls.",
                       "http://br.web.img3.acsta.net/r_1280_720/pictur"
                       "es/17/08/17/13/26/546003.jpg",
                       "https://www.youtube.com/watch?v=r3dcnV6Z9Zs")

marjorie_prime = media.Movie("Marjorie Prime",
                             "At a seaside home, Marjorie spends her f"
                             "inal days conversing with a holographic "
                             "projection that resembles her late husba"
                             "nd Walter",
                             "http://2.bp.blogspot.com/-bp_ArfB8fxI/Vn"
                             "gu5ZJsyyI/AAAAAAAAKpE/W3BUYpViPQs/s1600/"
                             "marjorie%2Bprime359.jpg",
                             "https://www.youtube.com/watch?v=SccmZSOW"
                             "3OA")

dunkirk = media.Movie("Dunkirk",
                      "A dramatic account of the WWII evacuation of Du"
                      "nkirk, France's beaches in 1941",
                      "https://i.pinimg.com/originals/dc/5c/85/dc5c85e"
                      "e3569a61eda6791e5ce658c8c.png",
                      "https://www.youtube.com/watch?v=F-eMt3SrfFU")

lady_macbeth = media.Movie("Lady Macbeth",
                           "A young woman is sold into marriage to an "
                           "older landowner, whose nastiness is only s"
                           "urpassed by that of his domineering father"
                           ".",
                           "http://br.web.img3.acsta.net/r_1280_720/pi"
                           "ctures/17/03/20/10/26/119027.jpg",
                           "https://www.youtube.com/watch?v=2Z0N8ULhuU"
                           "A")

wormwood = media.Movie("Wormwood",
                       "A government biochemist whose mysterious 1953 "
                       "death out a New York City hotel room window wa"
                       "s first deemed a suicide, then the byproduct o"
                       "f a CIA mind-control program, and then somethi"
                       "ng more sinister still.",
                       "https://ewedit.files.wordpress.com/2017/12/wor"
                       "mwood.jpg",
                       "https://www.youtube.com/watch?v=b01DL8DTUGM")

# pushing objects into list movies
movies = [the_lure,
          icaros_a_vision,
          thelma,
          city_of_ghosts,
          alien_covenant,
          super_dark_times,
          atomic_blonde,
          lady_bird,
          lucky,
          good_time,
          the_killing_of_a_sacred_deer,
          dawson_city,
          the_blackcoats_daughter,
          i_called_him_morgan,
          the_lost_city_of_z,
          phantom_thread,
          i_dont_feel_at_home,
          columbus,
          marjorie_prime,
          dunkirk,
          lady_macbeth,
          wormwood]

# calling function open_movies_page passing movies to render HTML
fresh_tomatoes.open_movies_page(movies)
