Fix association

This commit is contained in:
Michel Roux 2019-12-15 20:00:17 +01:00
parent 6b977b8086
commit c7514ff2ff

View File

@ -402,7 +402,9 @@ class YggTorrent(Connector):
'seeds': check_seeds,
'leechs': tds[8].string,
'downloads': check_downloads,
'class': self.color if AnimeLink.query.filter_by(link=quote(url['href'])).first() else ''
'class': self.color if AnimeLink.query.filter_by(
link=quote(url['href'], '/+:')
).first() else ''
})
self.on_error = False