import media import index Breaking_Bad = media.Movie("Breaking Bad", "Breaking Bad is an American crime drama television series created and produced by Vince Gilligan", "http://unspoiledpodcasts.com/wp-content/uploads/2014/09/Breaking-Bad.jpg", "https://www.youtube.com/watch?v=lrcqbavlbyQ") Friends = media.Movie("Friends", "Friends is an American television sitcom", "http://www.hercampus.com/sites/default/files/2014/11/09/Friends-season-10-014.jpg", "https://www.youtube.com/watch?v=bvEnlf9g4co") Game_of_Thrones=media.Movie("Game of Thrones", "Game of Thrones is an American fantasy drama television series created by David Benioff and D. B. Weiss", "http://www.wpaperhd.com/uploads/originals/2016/01/08/game-of-thrones-black-OE2R.jpg", "https://www.youtube.com/watch?v=BpJYNVhGf1s") movies= [Breaking_Bad,Friends,Game_of_Thrones] index.open_movies_page(movies)
"Aquaman", "Arthur Curry learns that he is the heir to the underwa" "ter kingdom of Atlantis, and must step forward to lead " "his people and to be a hero to the world.", "https://upload.wikimedia.org/wikipedia/en/b/ba/Aquaman_movie_logo.jpg", "https://youtu.be/4LIaodz21WY") tomb_raider = movie_class.Movie( "Tomb Raider", "Lara Croft, the fiercely independent daughter of a " "missing adventurer, must push herself beyond her " "limits when she finds herself on the island where " "her father disappeared.", "https://upload.wikimedia.org/wikipedia/en/b/bd/Tomb_Raider_%282018_film%29.png", "https://youtu.be/8ndhidEmUbI") deadpool_2 = movie_class.Movie( "Deadpool 2", "After surviving a near fatal bovine attack, Wade " "Wilson (Ryan Reynolds) struggles to fulfill his drea" "m of becoming Mayberry’s hottest bartender while" " also learning to cope with his lost sense of taste.", "https://upload.wikimedia.org/wikipedia/en/c/cf/Deadpool_2_poster.jpg", "https://youtu.be/8-Cjsnq8kVU") # Add the instances to a list movies = [ avengers_infinity_war, jurassic_world_fallen_kingdom, black_panther, star_wars_han_solo, the_predator, aquaman, tomb_raider, deadpool_2 ] # Generate a web page that displays the movies in the list index.open_movies_page(movies)