-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathentertainment_center.py
220 lines (197 loc) · 14.3 KB
/
entertainment_center.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
import fresh_tomatoes
import media
dracula = media.Movie("Bram Stoker's Dracula",
"The vampire comes to England to seduce "
"a visitor's fiance "
"and inflict havoc in the foreign land.",
"https://images-na.ssl-images-amazon.com/images/M/MV5BMTYyOTM5NzU3Nl5BMl5BanBnXkFtZTgwOTQxNjAxNzE@._V1_.jpg", # noqa
"https://www.youtube.com/watch?v=PlDbxogHPao") # noqa
sotl = media.Movie("The Silence of the Lambs",
"A young F.B.I. cadet must confide "
"in an incarcerated and manipulative "
"killer to receive his help on catching "
"another serial killer "
"who skins his victims.",
"https://images-na.ssl-images-amazon.com/images/M/MV5BMTQ2NzkzMDI4OF5BMl5BanBnXkFtZTcwMDA0NzE1NA@@._V1_SY1000_CR0,0,666,1000_AL_.jpg", # noqa
"https://www.youtube.com/watch?v=RuX2MQeb8UM") # noqa
braveheart = media.Movie("Braveheart",
"When his secret bride is executed "
"for assaulting an English soldier "
"who tried to rape her, Sir William Wallace "
"begins a revolt against "
"King Edward I of England.",
"https://images-na.ssl-images-amazon.com/images/M/MV5BNTMyNGE1ODQtYTNiNS00ZTUyLThhZjktMTgyOGZkZThlYTc3XkEyXkFqcGdeQXVyMTQxNzMzNDI@._V1_SY1000_CR0,0,676,1000_AL_.jpg", # noqa
"https://www.youtube.com/watch?v=wj0I8xVTV18") # noqa
IJ_one = media.Movie("Raiders of the Lost Ark",
"Archaeologist and adventurer "
"Indiana Jones is hired by "
"the U.S. government "
"to find the Ark of the Covenant "
"before the Nazis.",
"https://images-na.ssl-images-amazon.com/images/M/MV5BMjA0ODEzMTc1Nl5BMl5BanBnXkFtZTcwODM2MjAxNA@@._V1_SY1000_CR0,0,664,1000_AL_.jpg", # noqa
"https://www.youtube.com/watch?v=XkkzKHCx154") # noqa
IJ_two = media.Movie("Indiana Jones and the Temple of Doom",
"After arriving in India, "
"Indiana Jones is asked "
"by a desperate village "
"to find a mystical stone. "
"He agrees, and stumbles upon a "
"secret cult plotting a terrible plan "
"in the catacombs of "
"an ancient palace.",
"https://images-na.ssl-images-amazon.com/images/M/MV5BMTMyNzI4OTA5OV5BMl5BanBnXkFtZTcwMDQ2MjAxNA@@._V1_SY1000_CR0,0,660,1000_AL_.jpg", # noqa
"https://www.youtube.com/watch?v=HOwWfns4qqw") # noqa
IJ_three = media.Movie("Indiana Jones and the Last Crusade",
"When Dr. Henry Jones Sr. "
"suddenly goes missing "
"while pursuing the Holy Grail, "
"eminent archaeologist "
"Indiana Jones must follow in his "
"father's footsteps "
"and stop the Nazis.",
"https://images-na.ssl-images-amazon.com/images/M/MV5BMjNkMzc2N2QtNjVlNS00ZTk5LTg0MTgtODY2MDAwNTMwZjBjXkEyXkFqcGdeQXVyNDk3NzU2MTQ@._V1_SY1000_CR0,0,678,1000_AL_.jpg", # noqa
"https://www.youtube.com/watch?v=a6JB2suJYHM") # noqa
IJ_four = media.Movie("Indiana Jones and the Kingdom of the Crystal Skull",
"Famed archaeologist "
"Dr. Henry Indiana Jones "
"is called back into "
"action when he becomes entangled "
"in a Soviet plot to uncover "
"the secret behind mysterious "
"artifacts known as the Crystal Skulls.",
"https://images-na.ssl-images-amazon.com/images/M/MV5BMTIxNDUxNzcyMl5BMl5BanBnXkFtZTcwNTgwOTI3MQ@@._V1_.jpg", # noqa
"https://www.youtube.com/watch?v=Ibc7Au8SSB0") # noqa
tlor_one = media.Movie("TLOR: The Fellowship of the Ring",
"A meek Hobbit from the Shire and "
"eight companions set out on a journey "
"to destroy the powerful One Ring "
"and save Middle Earth from "
"the Dark Lord Sauron.",
"https://images-na.ssl-images-amazon.com/images/M/MV5BNmFmZDdkODMtNzUyMy00NzhhLWFjZmEtMGMzYjNhMDA1NTBkXkEyXkFqcGdeQXVyNDUyOTg3Njg@._V1_SY1000_SX684_AL_.jpg", # noqa
"https://www.youtube.com/watch?v=V75dMMIW2B4") # noqa
tlor_two = media.Movie("TLOR: The Two Towers",
"While Frodo and Sam edge closer "
"to Mordor with the help of the "
"shifty Gollum, the divided fellowship "
"makes a stand against Sauron's new ally, "
"Saruman, and his hordes of Isengard.",
"https://images-na.ssl-images-amazon.com/images/M/MV5BMTAyNDU0NjY4NTheQTJeQWpwZ15BbWU2MDk4MTY2Nw@@._V1_.jpg", # noqa
"https://www.youtube.com/watch?v=rKn4mnnyEvE") # noqa
tlor_three = media.Movie("TLOR: The Return of the King",
"Gandalf and Aragorn lead the World of Men "
"against Sauron's army "
"to draw his gaze from Frodo and Sam "
"as they approach Mount Doom with the One Ring.",
"https://images-na.ssl-images-amazon.com/images/M/MV5BYWY1ZWQ5YjMtMDE0MS00NWIzLWE1M2YtODYzYTk2OTNlYWZmXkEyXkFqcGdeQXVyNDUyOTg3Njg@._V1_SY1000_SX668_AL_.jpg", # noqa
"https://www.youtube.com/watch?v=r5X-hFf6Bwo") # noqa
hobbit_one = media.Movie("The Hobbit: An Unexpected Journey",
"A reluctant hobbit, Bilbo Baggins, "
"sets out to the Lonely Mountain "
"with a spirited group of dwarves "
"to reclaim their mountain "
"home - and the gold within it - "
"from the dragon Smaug.",
"https://images-na.ssl-images-amazon.com/images/M/MV5BMTcwNTE4MTUxMl5BMl5BanBnXkFtZTcwMDIyODM4OA@@._V1_SY1000_CR0,0,674,1000_AL_.jpg", # noqa
"https://www.youtube.com/watch?v=WJULoHnwoRI") # noqa
hobbit_two = media.Movie("The Hobbit: The Desolation of Smaug",
"The dwarves, along with Bilbo Baggins "
"and Gandalf the Grey, "
"continue their quest to reclaim Erebor, "
"their homeland, from Smaug. "
"Bilbo Baggins is in possession "
"of a mysterious and magical ring.",
"https://images-na.ssl-images-amazon.com/images/M/MV5BMzU0NDY0NDEzNV5BMl5BanBnXkFtZTgwOTIxNDU1MDE@._V1_SY1000_CR0,0,675,1000_AL_.jpg", # noqa
"https://www.youtube.com/watch?v=OPVWy1tFXuc") # noqa
hobbit_three = media.Movie("The Hobbit: The Battle of the Five Armies",
"Bilbo and Company are forced to "
"engage in a war against an array "
"of combatants and keep "
"the Lonely Mountain from falling "
"into the hands of a rising darkness.",
"https://images-na.ssl-images-amazon.com/images/M/MV5BODAzMDgxMDc1MF5BMl5BanBnXkFtZTgwMTI0OTAzMjE@._V1_SY1000_SX675_AL_.jpg", # noqa
"https://www.youtube.com/watch?v=iVAgTiBrrDA") # noqa
SW_episode_IV = media.Movie("Star Wars: Episode IV - A New Hope",
"Luke Skywalker joins forces with "
"a Jedi Knight, a cocky pilot, a wookiee "
"and two droids to save the galaxy "
"from the Empire's world-destroying "
"battle-station, while also attempting "
"to rescue Princess Leia "
"from the evil Darth Vader.",
"https://images-na.ssl-images-amazon.com/images/M/MV5BYzQ2OTk4N2QtOGQwNy00MmI3LWEwNmEtOTk0OTY3NDk2MGJkL2ltYWdlL2ltYWdlXkEyXkFqcGdeQXVyNjc1NTYyMjg@._V1_SY1000_CR0,0,664,1000_AL_.jpg", # noqa
"https://www.youtube.com/watch?v=vZ734NWnAHA") # noqa
SW_episode_V = media.Movie("Star Wars: Episode V - The Empire Strikes Back",
"After the rebels have been brutally "
"overpowered by the Empire "
"on their newly established base, "
"Luke Skywalker takes advanced "
"Jedi training with Master Yoda, "
"while his friends are pursued "
"by Darth Vader as part of his plan "
"to capture Luke.",
"https://images-na.ssl-images-amazon.com/images/M/MV5BYmViY2M2MTYtY2MzOS00YjQ1LWIzYmEtOTBiNjhlMGM0NjZjXkEyXkFqcGdeQXVyNDYyMDk5MTU@._V1_SY1000_CR0,0,644,1000_AL_.jpg", # noqa
"https://www.youtube.com/watch?v=JNwNXF9Y6kY") # noqa
SW_episode_VI = media.Movie("Star Wars: Episode VI - Return of the Jedi",
"After rescuing Han Solo from "
"the palace of Jabba the Hutt, "
"the rebels attempt to destroy "
"the second Death Star, "
"while Luke struggles to make "
"Vader return from the "
"dark side of the Force.",
"https://images-na.ssl-images-amazon.com/images/M/MV5BODllZjg2YjUtNWEzNy00ZGY2LTgyZmQtYTkxNDYyOWM3OTUyXkEyXkFqcGdeQXVyMTQxNzMzNDI@._V1_SY1000_CR0,0,637,1000_AL_.jpg", # noqa
"https://www.youtube.com/watch?v=CsDwpF3uiZI") # noqa
SW_episode_I = media.Movie("Star Wars: Episode I - The Phantom Menace",
"Two Jedi Knights escape a "
"hostile blockade to find allies "
"and come across a young boy "
"who may bring balance to the Force, "
"but the long dormant Sith resurface "
"to reclaim their old glory.",
"https://images-na.ssl-images-amazon.com/images/M/MV5BM2FmZGIwMzAtZTBkMS00M2JiLTk2MDctM2FlNTQ2OWYwZDZkXkEyXkFqcGdeQXVyNDYyMDk5MTU@._V1_SY1000_CR0,0,666,1000_AL_.jpg", # noqa
"https://www.youtube.com/watch?v=bD7bpG-zDJQ") # noqa
SW_episode_II = media.Movie("Star Wars: Episode II - Attack of the Clones",
"Ten years after initially meeting, "
"Anakin Skywalker shares a "
"forbidden romance with Padme, "
"while Obi-Wan investigates "
"an assassination attempt on the Senator "
"and discovers a secret clone army "
"crafted for the Jedi.",
"https://images-na.ssl-images-amazon.com/images/M/MV5BNDRkYzA4OGYtOTBjYy00YzFiLThhYmYtMWUzMDBmMmZkM2M3XkEyXkFqcGdeQXVyNDYyMDk5MTU@._V1_SY1000_CR0,0,752,1000_AL_.jpg", # noqa
"https://www.youtube.com/watch?v=CO2OLQ2kiq8") # noqa
SW_episode_III = media.Movie("Star Wars: Episode III - Revenge of the Sith",
"Three years into the Clone Wars, "
"the Jedi rescue Palpatine from Count Dooku. "
"As Obi-Wan pursues a new threat, "
"Anakin acts as a double agent "
"between the Jedi Council and Palpatine "
"and is lured into a sinister plan "
"to rule the galaxy.",
"https://images-na.ssl-images-amazon.com/images/M/MV5BNTc4MTc3NTQ5OF5BMl5BanBnXkFtZTcwOTg0NjI4NA@@._V1_SY1000_SX750_AL_.jpg", # noqa
"https://www.youtube.com/watch?v=5UnjrG_N8hU") # noqa
SW_the_force_awakens = media.Movie("Star Wars: The Force Awakens",
"Three decades after the defeat "
"of the Galactic Empire, "
"a new threat arises. "
"The First Order attempts "
"to rule the galaxy and only "
"a ragtag group of heroes "
"can stop them, along with "
"the help of the Resistance.",
"https://images-na.ssl-images-amazon.com/images/M/MV5BOTAzODEzNDAzMl5BMl5BanBnXkFtZTgwMDU1MTgzNzE@._V1_SY1000_CR0,0,677,1000_AL_.jpg", # noqa
"https://www.youtube.com/watch?v=sGbxmsDFVnE") # noqa
SW_rogue_one = media.Movie("Rogue One",
"The Rebel Alliance makes "
"a risky move to steal the plans "
"for the Death Star, "
"setting up the epic saga to follow.",
"https://images-na.ssl-images-amazon.com/images/M/MV5BMjEwMzMxODIzOV5BMl5BanBnXkFtZTgwNzg3OTAzMDI@._V1_SY1000_SX675_AL_.jpg", # noqa
"https://www.youtube.com/watch?v=frdj1zb9sMY") # noqa
movies = [dracula, sotl, braveheart, IJ_one, IJ_two,
IJ_three, IJ_four, tlor_one,
tlor_two, tlor_three, hobbit_one, hobbit_two,
hobbit_three, SW_episode_IV, SW_episode_V,
SW_episode_VI, SW_episode_I, SW_episode_II,
SW_episode_III, SW_the_force_awakens, SW_rogue_one]
fresh_tomatoes.open_movies_page(movies)