clear failed piratecinema.org posters, fixes #3209

This commit is contained in:
j 2019-08-02 16:24:39 +02:00
parent d5d45ad681
commit 031439ccd5

View file

@ -146,6 +146,7 @@ def get_poster_urls(m):
poster = ox.web.piratecinema.get_poster_url(m.imdb_id) poster = ox.web.piratecinema.get_poster_url(m.imdb_id)
if poster: if poster:
m.postercache.filter(url__contains='piratecinema.org', failed=True).delete()
addPoster(poster, 'piratecinema.org', m.imdb_id) addPoster(poster, 'piratecinema.org', m.imdb_id)
if m.criterion_id: if m.criterion_id: