From 2e5ef30a96a6470a6d3dc387554a5bb5e0f25d31 Mon Sep 17 00:00:00 2001 From: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com> Date: Tue, 12 Oct 2021 19:22:33 +0100 Subject: [PATCH] torrentmax: refine row selector to remove categories without torrents. resolves #12406 --- src/Jackett.Common/Definitions/torrentmax.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/Jackett.Common/Definitions/torrentmax.yml b/src/Jackett.Common/Definitions/torrentmax.yml index d039486d8..810c6e59a 100644 --- a/src/Jackett.Common/Definitions/torrentmax.yml +++ b/src/Jackett.Common/Definitions/torrentmax.yml @@ -13,10 +13,6 @@ legacylinks: caps: categorymappings: - - {id: "PHOTO", cat: XXX, desc: "후방주의 (Adult)"} - - {id: "19", cat: XXX, desc: "후방주의2 (Adult)"} - - {id: "GIRL", cat: XXX, desc: "걸그룹 (Adult)"} - - {id: "CAM", cat: XXX, desc: "직캠 (Adult)"} - {id: "ANIMATION", cat: TV/Anime, desc: "애니 (Animation)"} - {id: "GAME", cat: Console, desc: "게임 (Games)"} - {id: "MOVIE_EN", cat: Movies/Foreign, desc: "영화 (Movie EN)"} @@ -28,8 +24,6 @@ caps: - {id: "VARIETY", cat: TV, desc: "예능 (Variety)"} - {id: "MUSIC", cat: Audio, desc: "한국음악 (Music)"} - {id: "MUSIK", cat: Audio/Foreign, desc: "외국음악 (Music Foreign)"} - - {id: "notice", cat: Other, desc: "공지사항 (Notice)"} - - {id: "humor", cat: Other, desc: "유머 (Humor)"} - {id: "MOBILE", cat: PC/Mobile-Other, desc: "모바일 (Mobile)"} - {id: "UTIL", cat: PC, desc: "유틸 (Software)"} @@ -68,7 +62,7 @@ search: sop: and rows: - selector: div.search-media div.media + selector: div.search-media div.media:not(:has(a[href*=\"PHOTO\"])):not(:has(a[href*=\"19\"])):not(:has(a[href*=\"GIRL\"])):not(:has(a[href*=\"CAM\"])):not(:has(a[href*=\"notice\"])):not(:has(a[href*=\"humor\"])) fields: category: