[qcineoob] thumbnail for person and movie
This commit is contained in:
parent
7a917e879c
commit
d874a3087a
8 changed files with 41 additions and 144 deletions
|
|
@ -64,6 +64,7 @@ class ImdbBrowser(BaseBrowser):
|
|||
movie.note = NotLoaded
|
||||
movie.roles = NotLoaded
|
||||
movie.all_release_dates= NotLoaded
|
||||
movie.thumbnail_url = NotLoaded
|
||||
yield movie
|
||||
|
||||
def iter_persons(self, pattern):
|
||||
|
|
@ -82,6 +83,7 @@ class ImdbBrowser(BaseBrowser):
|
|||
person.short_biography= NotLoaded
|
||||
person.short_description= latin2unicode(p['description'])
|
||||
person.roles = NotLoaded
|
||||
person.thumbnail_url = NotLoaded
|
||||
yield person
|
||||
|
||||
def get_movie(self, id):
|
||||
|
|
@ -209,6 +211,9 @@ dict_hex = {'á': u'á',
|
|||
'ü': u'ü',
|
||||
'&': u'&',
|
||||
''': u"'",
|
||||
'à': u'à',
|
||||
'À': u'À',
|
||||
'â': u'â',
|
||||
'ç': u'ç'
|
||||
}
|
||||
def latin2unicode(word):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue