Improved synopsis filter
This commit is contained in:
parent
0670e9f886
commit
dde6d05309
@ -158,7 +158,7 @@ func CompareMAL(ctx *aero.Context) string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Synopsis
|
// 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)
|
hash := utils.HashString(malAnime.Synopsis)
|
||||||
|
|
||||||
if !arn.IsAnimeDifferenceIgnored(anime.ID, "mal", malAnime.ID, "Synopsis", hash) {
|
if !arn.IsAnimeDifferenceIgnored(anime.ID, "mal", malAnime.ID, "Synopsis", hash) {
|
||||||
|
Loading…
Reference in New Issue
Block a user