filter out scene strips

This commit is contained in:
j 2010-09-17 12:08:09 +02:00
parent 13d41faa4f
commit ddf457f082

View file

@ -1,5 +1,7 @@
# -*- coding: utf-8 -*-
# vi:si:et:sw=4:sts=4:ts=4
from __future__ import division
import os.path
import hashlib
@ -16,7 +18,7 @@ import ox.web.impawards
from oxdata.lookup.models import MovieId
def getPosters(movie_id, url_prefix='', limit=lambda x, y: x<y):
def getPosters(movie_id, url_prefix='', limit=lambda x, y: 0.2 < x/y < 1):
if not movie_id:
return {}
getPosterUrls(movie_id)