Skip to content

Commit

Permalink
排除规则支持正则
Browse files Browse the repository at this point in the history
  • Loading branch information
wushuo894 committed Sep 8, 2024
1 parent 7650cb5 commit 9fe60ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>ani.rss</groupId>
<artifactId>ani-rss</artifactId>
<version>1.0.84</version>
<version>1.0.85</version>

<properties>
<maven.compiler.source>11</maven.compiler.source>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/ani/rss/util/AniUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ public static List<Item> getItems(Ani ani, String xml) {
.setTorrent(torrent);

// 进行过滤
if (exclude.stream().anyMatch(s -> ReUtil.contains(s, newItem.getTorrent()))) {
if (exclude.stream().anyMatch(s -> ReUtil.contains(s, newItem.getTitle()))) {
continue;
}
items.add(newItem);
Expand Down

0 comments on commit 9fe60ac

Please sign in to comment.