From d736ce1649e3c5c51c74fcf1fa60f85fb54c2007 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Fri, 20 Nov 2020 07:11:14 +1300 Subject: [PATCH] xfsub: broken. removed. resolves #8351 --- README.md | 1 - src/Jackett.Common/Definitions/xfsub.yml | 100 ----------------------- src/Jackett.Updater/Program.cs | 1 + 3 files changed, 1 insertion(+), 101 deletions(-) delete mode 100644 src/Jackett.Common/Definitions/xfsub.yml diff --git a/README.md b/README.md index 2a4c48afb..217e319a6 100644 --- a/README.md +++ b/README.md @@ -157,7 +157,6 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht * UnionDHT * VSTHouse * VST Torrents - * XFSUB * xxxAdultTorrent * xxxtor * xxxtorrents diff --git a/src/Jackett.Common/Definitions/xfsub.yml b/src/Jackett.Common/Definitions/xfsub.yml deleted file mode 100644 index 61d8de038..000000000 --- a/src/Jackett.Common/Definitions/xfsub.yml +++ /dev/null @@ -1,100 +0,0 @@ ---- -id: xfsub -name: XFSUB -description: "XFSUB is a CHINESE Public site for ANIME" -language: zh-cn -type: public -encoding: UTF-8 -links: - - http://share.xfapi.top:88/ - - https://bt.xfsub.org/ - -settings: [] - -caps: - categorymappings: - - {id: 1, cat: TV/Anime, desc: "动画 (Anime)"} - - {id: 2, cat: Books/Comics, desc: "漫画 (Manga)"} - - {id: 3, cat: Audio, desc: "音乐 (OST)"} - - {id: 4, cat: TV/Anime, desc: "片源 (AnimeRAW)"} - - {id: 5, cat: PC/Games, desc: "游戏 (Games)"} - - {id: 6, cat: Movies, desc: "电影 (Movies)"} - - {id: 7, cat: TV, desc: "日剧 (JP Series)"} - - {id: 8, cat: TV, desc: "美剧 (US Series)"} - - {id: 9, cat: Other, desc: "其他/综艺 (Other)"} - - {id: 10, cat: TV, desc: "港台综艺 (HK+TW Shows"} - - {id: 11, cat: TV, desc: "大陆综艺 (CH Shows)"} - - {id: 12, cat: TV, desc: "日韩综艺 (JP+KR Shows)"} - - {id: 13, cat: TV, desc: "台湾连续剧 (TW Series)"} - - {id: 14, cat: Movies/3D, desc: "3D立体电影 (Movies3D)"} - - {id: 15, cat: Books/EBook, desc: "Books"} - - {id: 16, cat: TV, desc: "国产电视剧 (CH Series)"} - - {id: 17, cat: TV, desc: "特摄 (Tokusatsu)"} - - modes: - search: [q] - tv-search: [q, season, ep] - movie-search: [q] - music-search: [q] - book-search: [q] - -search: - paths: - - path: "{{ if .Keywords }}search.php?keyword={{ .Keywords }}{{ else }}{{ end }}" - - rows: - selector: table#listTable > tbody > tr:has(a[href^="sort-"]) - - fields: - category: - selector: a[href^="sort-"] - attribute: href - filters: - - name: split - args: ["-", 1] - title: - selector: a[href^="show-"] - details: - selector: a[href^="show-"] - attribute: href - download: - selector: a[href*="/torrent/"] - attribute: href - size: - selector: td:nth-child(3) - seeders: - selector: td:nth-child(4) - leechers: - selector: td:nth-child(5) - grabs: - selector: td:nth-child(6) - date: - # 今天 03:54 (today) - # 昨天 01:06 (yesterday) - # 前天 15:11 (day before yesterday) - selector: td:last-child:contains("天") - optional: true - filters: - - name: replace - args: ["今天", "Today"] - - name: replace - args: ["昨天", "Yesterday"] - - name: replace - args: ["前天", "Yesterday"] # dont have a day before yesterday time do we? - - name: append - args: " +08:00" # CST - - name: fuzzytime - date: - # 03/02 12:44 (no year, so big problem for older dates which will appear as "0m ago" because 12/24 is in the future if today is 04/28) - selector: td:last-child:not(:contains("天")) - optional: true - filters: - - name: append - args: " +08:00" # CST - - name: dateparse - args: "01/02 15:04 -07:00" - downloadvolumefactor: - text: 0 - uploadvolumefactor: - text: 1 -# engine HamotionCloud (customised) diff --git a/src/Jackett.Updater/Program.cs b/src/Jackett.Updater/Program.cs index 7119ba955..adf00cb95 100644 --- a/src/Jackett.Updater/Program.cs +++ b/src/Jackett.Updater/Program.cs @@ -419,6 +419,7 @@ namespace Jackett.Updater "Definitions/waffles.yml", "Definitions/worldofp2p.yml", "Definitions/worldwidetorrents.yml", + "Definitions/xfsub.yml", "Definitions/xktorrent.yml", "Definitions/xtremefile.yml", "Definitions/xtremezone.yml", // migrated to C# XtremeZone base tracker