Exemplo n.º 1
0
from media import Cast, Movie
import lovely_dove

# You might consider using OMDb API instead (http://www.omdbapi.com/)

# Movies (Begin) ||==================================================

## Interstellar
interstellar = Movie('Interstellar', 2014, 'Christopher Nolan', 169,
                     'Adventure, Drama, Sci-Fi',
                     'A team of explorers travel '
                     'through a wormhole in space in an attempt to ensure '
                     'humanity\'s survival.',
                     'http://www.youtube.com/embed/zSWdZVtXT7E', 5,
                     'http://upload.wikimedia.org/wikipedia/en/b/bc/Interstellar_film_poster.jpg')
interstellar.add_cast('Matthew McConaughey', True)
interstellar.add_cast('Anne Hathaway', True)
interstellar.add_cast('Jessica Chastain', True)
interstellar.add_cast('Mackenzie Foy', False)

## Agora
agora = Movie('Agora', 2009, 'Alejandro Amenábar', 127,
              'Adventure, Drama, History',
              'A historical drama set in Roman Egypt, concerning a slave who '
              'turns to the rising tide of Christianity in the hope of '
              'pursuing freedom while falling in love with his mistress, the '
              'famous philosophy and mathematics professor '
              'Hypatia of Alexandria.',
              'https://www.youtube.com/embed/RbuEhwselE0', 4.5,
              'https://upload.wikimedia.org/wikipedia/en/8/81/Agoraposter09.jpg')
agora.add_cast('Rachel Weisz', True)