remove imdb poster id from data
This commit is contained in:
parent
226c4fb2c0
commit
64abcba05b
1 changed files with 2 additions and 0 deletions
|
@ -168,6 +168,8 @@ class Imdb(models.Model):
|
||||||
data['reviews'] = reviews
|
data['reviews'] = reviews
|
||||||
if not data['reviews']:
|
if not data['reviews']:
|
||||||
del data['reviews']
|
del data['reviews']
|
||||||
|
if 'posterId' in data:
|
||||||
|
del data['posterId']
|
||||||
data['likes'] = self.info('likes')
|
data['likes'] = self.info('likes')
|
||||||
data['downloads'] = self.info('downloads')
|
data['downloads'] = self.info('downloads')
|
||||||
data['links'] = self.links()
|
data['links'] = self.links()
|
||||||
|
|
Loading…
Reference in a new issue