ignore posters known to have imdb id

This commit is contained in:
j 2011-11-03 11:22:11 +01:00
parent afa392f030
commit 6ffc4e58d8

View file

@ -20,6 +20,16 @@ def addPoster(m, url, site, site_id):
def getIds():
for id in ox.web.impawards.getIds():
if id in (
'2005/night',
'2007/hands_of_the_dragon',
'2008/nosferatu_project',
'2009/murph',
'1962/well_bury_you',
'1974/matter_of_winning',
'2006/last_time_i_trust_you_with_anything',
):
continue
if models.MovieId.objects.all().filter(impawards_id=id).count() == 0:
print 'impawards', ox.web.impawards.getUrl(id)
data = ox.web.impawards.getData(id)