Skip to content

Commit

Permalink
Merge pull request #42 from iPromKnight/also_handle_xx
Browse files Browse the repository at this point in the history
fix: also handle xx
  • Loading branch information
iPromKnight authored Nov 16, 2024
2 parents b69f192 + 09c70fb commit 80fc05e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Zilean.DmmScraper/Features/Dmm/DmmScraping.cs
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ private static async IAsyncEnumerable<ExtractedDmmEntry> ProcessFileAsync(string
}

private static bool WipeSomeTissue(TorrentInfo torrent) =>
!(torrent.RawTitle.Contains(" xxx ", StringComparison.OrdinalIgnoreCase) &&
!((torrent.RawTitle.Contains(" xxx ", StringComparison.OrdinalIgnoreCase) ||
torrent.RawTitle.Contains(" xx ", StringComparison.OrdinalIgnoreCase)) &&
!torrent.ParsedTitle.Contains("XXX", StringComparison.OrdinalIgnoreCase));
}

0 comments on commit 80fc05e

Please sign in to comment.