Improved synopsis filter

This commit is contained in:
Eduard Urbach 2018-03-10 10:58:46 +01:00
parent 0670e9f886
commit dde6d05309

View File

@ -158,7 +158,7 @@ func CompareMAL(ctx *aero.Context) string {
}
// Synopsis
if len(anime.Summary) < len(malAnime.Synopsis) {
if len(anime.Summary) < 300 && len(anime.Summary)+50 < len(malAnime.Synopsis) {
hash := utils.HashString(malAnime.Synopsis)
if !arn.IsAnimeDifferenceIgnored(anime.ID, "mal", malAnime.ID, "Synopsis", hash) {