ignore posters known to have imdb id
This commit is contained in:
parent
afa392f030
commit
6ffc4e58d8
1 changed files with 10 additions and 0 deletions
|
@ -20,6 +20,16 @@ def addPoster(m, url, site, site_id):
|
||||||
|
|
||||||
def getIds():
|
def getIds():
|
||||||
for id in ox.web.impawards.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:
|
if models.MovieId.objects.all().filter(impawards_id=id).count() == 0:
|
||||||
print 'impawards', ox.web.impawards.getUrl(id)
|
print 'impawards', ox.web.impawards.getUrl(id)
|
||||||
data = ox.web.impawards.getData(id)
|
data = ox.web.impawards.getData(id)
|
||||||
|
|
Loading…
Reference in a new issue