filter out scene strips
This commit is contained in:
parent
13d41faa4f
commit
ddf457f082
1 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
# vi:si:et:sw=4:sts=4:ts=4
|
# vi:si:et:sw=4:sts=4:ts=4
|
||||||
|
from __future__ import division
|
||||||
|
|
||||||
import os.path
|
import os.path
|
||||||
import hashlib
|
import hashlib
|
||||||
|
|
||||||
|
@ -16,7 +18,7 @@ import ox.web.impawards
|
||||||
|
|
||||||
from oxdata.lookup.models import MovieId
|
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:
|
if not movie_id:
|
||||||
return {}
|
return {}
|
||||||
getPosterUrls(movie_id)
|
getPosterUrls(movie_id)
|
||||||
|
|
Loading…
Reference in a new issue