From c948f38469555b1498d7d0f5bcd058375b3dcaa7 Mon Sep 17 00:00:00 2001 From: Ruud Date: Sat, 11 Jan 2014 14:23:35 +0100 Subject: [PATCH] Only add trailer to known quality list. fix #2684 --- couchpotato/core/providers/trailer/hdtrailers/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/providers/trailer/hdtrailers/main.py b/couchpotato/core/providers/trailer/hdtrailers/main.py index abb9165..14b8554 100644 --- a/couchpotato/core/providers/trailer/hdtrailers/main.py +++ b/couchpotato/core/providers/trailer/hdtrailers/main.py @@ -100,7 +100,7 @@ class HDTrailers(TrailerProvider): continue resolutions = tr.find_all('td', attrs = {'class':'bottomTableResolution'}) for res in resolutions: - if res.a: + if res.a and str(res.a.contents[0]) in results: results[str(res.a.contents[0])].insert(0, res.a['href']) except AttributeError: