-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathentertainment_center.py
executable file
·96 lines (72 loc) · 4.03 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
import media
import fresh_tomatoes
#---movie information:----------------------------------------------------------
eddieTheEagle = media.Movie( "Eddie The Eagle"
, "1h 46m"
, "PG-13"
, "British athlete Michael Edwards is determined "
"to represent his country in ski jumping."
, "https://upload.wikimedia.org/wikipedia/en/4/4f/"
"Eddie_the_Eagle_poster.png"
, "https://www.youtube.com/watch?v=hyzQjVUmIxk"
)
bridgeOfSpies = media.Movie( "Bridge of Spies"
, "2h 22m"
, "PG-13"
, "New York lawyer James Donovan is pilot Gary "
"Power's only hope of getting out of East Germany."
, "https://upload.wikimedia.org/wikipedia/en/f/fa/"
"Bridge_of_Spies_poster.jpg"
, "https://www.youtube.com/watch?v=A44obMQ8B7o"
)
bfg = media.Movie( "The BFG"
, "1h 57m"
, "PG"
, "Ten-year-old Sophie is in for the adventure of a lifetime "
"when she meets the Big Friendly Giant."
, "https://upload.wikimedia.org/wikipedia/en/a/af/"
"The_BFG_poster.jpg"
, "https://www.youtube.com/watch?v=y1fZg0hhBX8"
)
theMartian = media.Movie( "The Martian"
, "2h 31m"
, "PG-13"
, "When astronauts blast off from the planet Mars, "
"they leave behind Mark Watney."
, "https://upload.wikimedia.org/wikipedia/en/c/cd/"
"The_Martian_film_poster.jpg"
, "https://www.youtube.com/watch?v=MVs1I6thz7o"
)
jurassicWorld = media.Movie( "Jurassic World"
, "2h 5m"
, "PG-13"
, "Located off the coast of Costa Rica, the "
"Jurassic World luxury resort provides a habitat "
"for an array of genetically engineered dinosaurs."
, "http://vignette2.wikia.nocookie.net/jurassicpark/"
"images/f/f5/Jurassic_World_Teaser_Poster.jpg/"
"revision/latest/scale-to-width-down/2000?cb=20141015011159"
, "https://www.youtube.com/watch?v=jhtt4dd8Rbc"
)
theRevenant = media.Movie( "The Revenant"
, "2h 36m"
, "R"
, "While exploring the uncharted wilderness in 1823, "
"frontiersman Hugh Glass sustains life-threatening"
"injuries from a brutal bear attack."
, "https://upload.wikimedia.org/wikipedia/en/b/b6/"
"The_Revenant_2015_film_poster.jpg"
, "https://www.youtube.com/watch?v=ox-4hm92XnI"
)
#------------------------------------------------------------------------------
#---movie list (modify order here to affect display line-up in web page)
movies = [
eddieTheEagle
, bridgeOfSpies
, bfg
, theMartian
, jurassicWorld
, theRevenant
]
#---create the page
fresh_tomatoes.open_movies_page(movies)