Only add trailer to known quality list. fix #2684
This commit is contained in:
1 parent
516cbd73bd
commit
c948f38469
1 file changed
+1
-1
@@ -100,7 +100,7 @@ class HDTrailers(TrailerProvider):
|
|||||||
continue
|
continue
|
||||||
resolutions = tr.find_all('td', attrs = {'class':'bottomTableResolution'})
|
resolutions = tr.find_all('td', attrs = {'class':'bottomTableResolution'})
|
||||||
for res in resolutions:
|
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'])
|
results[str(res.a.contents[0])].insert(0, res.a['href'])
|
||||||
|
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
|
|||||||
Reference in new issue
Block a user