From 1dc2ff5693e19b5279dda1541ade593681d76608 Mon Sep 17 00:00:00 2001 From: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com> Date: Sun, 6 Dec 2020 01:31:10 +0000 Subject: [PATCH] btgigs: removed, dead (#10395) --- README.md | 1 - src/Jackett.Common/Definitions/btgigs.yml | 148 ---------------------- src/Jackett.Updater/Program.cs | 1 + 3 files changed, 1 insertion(+), 149 deletions(-) delete mode 100644 src/Jackett.Common/Definitions/btgigs.yml diff --git a/README.md b/README.md index f5c3bd18a..0aa53de88 100644 --- a/README.md +++ b/README.md @@ -271,7 +271,6 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht * BroadCity [![(invite needed)][inviteneeded]](#) * BroadcasTheNet (BTN) * BrokenStones [![(invite needed)][inviteneeded]](#) - * BTGigs (TG) [![(invite needed)][inviteneeded]](#) * BTNext (BTNT) * BTSCHOOL * BWTorrents diff --git a/src/Jackett.Common/Definitions/btgigs.yml b/src/Jackett.Common/Definitions/btgigs.yml deleted file mode 100644 index 0fdf131b5..000000000 --- a/src/Jackett.Common/Definitions/btgigs.yml +++ /dev/null @@ -1,148 +0,0 @@ ---- -id: btgigs -name: BTGigs -description: "BTGigs (TG) is a POLISH Private Torrent Tracker for MOVIES / TV / GENERAL" -language: pl-pl -type: private -encoding: ISO-8859-2 -links: - - https://btgigs.info/ - -caps: - categorymappings: - - {id: 36, cat: Audio/Audiobook, desc: "aBooki"} - - {id: 27, cat: TV/Anime, desc: "Anime"} - - {id: 1, cat: PC, desc: "Aplikacje PC"} - - {id: 10, cat: Books/EBook, desc: "eBooki"} - - {id: 34, cat: Movies/BluRay, desc: "Filmy/BR"} - - {id: 4, cat: Movies/SD, desc: "Filmy/DVD-R"} - - {id: 31, cat: Movies/HD, desc: "Filmy/HD Rip"} - - {id: 17, cat: Movies/Other, desc: "Filmy/Inne"} - - {id: 35, cat: Movies/UHD, desc: "Filmy/UHD"} - - {id: 20, cat: Movies/SD, desc: "Filmy/XviD"} - - {id: 21, cat: Console, desc: "Gry/konsole"} - - {id: 7, cat: PC/Games, desc: "Gry/PC ISO"} - - {id: 12, cat: PC/Games, desc: "Gry/PC Rips"} - - {id: 28, cat: Other, desc: "GSM/PDA"} - - {id: 19, cat: Audio/Video, desc: "Koncerty/Teledyski"} - - {id: 32, cat: Audio/Lossless, desc: "musicDVD/DTS/FLAC"} - - {id: 5, cat: Audio/MP3, desc: "Muzyka/MP3"} - - {id: 26, cat: Other, desc: "Rozne"} - - {id: 30, cat: TV/Sport, desc: "Sport"} - - {id: 6, cat: TV, desc: "TV/Seriale"} - - {id: 37, cat: TV/UHD, desc: "TV/UHD"} - - {id: 29, cat: PC, desc: "Witaminki"} - - {id: 9, cat: XXX, desc: "XXX"} - - modes: - search: [q] - tv-search: [q, season, ep] - movie-search: [q] - music-search: [q] - book-search: [q] - -settings: - - name: username - type: text - label: Username - - name: password - type: password - label: Password - - name: lang - type: checkbox - label: Add POLISH to title if is in polish category - default: false - -login: - path: takelogin_action.php - method: post - inputs: - username_dupa: "{{ .Config.username }}" - password__dupa: "{{ .Config.password }}" - error: - - selector: td.embedded:has(h2:contains("failed")) - - selector: td.embedded:has(h2:contains("Error")) - test: - selector: a[href^="logout.php"] - path: index.php?news=1 - -search: - paths: - - path: browse.php - error: - - selector: a.altlink - inputs: - $raw: "{{ range .Categories }}c{{.}}=1&{{end}}" - search: "{{ .Keywords }}" - incldead: 1 - tyt: 0 - lang: 0 - subcat: 0 - - rows: - selector: table[border="1"][cellpadding=5] > tbody > tr:has(a[href^="details.php?id="]) - - fields: - category: - selector: a[href^="browse.php?cat="] - attribute: href - filters: - - name: querystring - args: cat - is_polish: - optional: true - selector: img[src*="cat_pl"] - attribute: src - title_phase1: - selector: a[href^="details.php?id="] - title_polish: - text: "{{ .Result.title_phase1 }}" - filters: - - name: append - args: " POLISH" - title: - text: "{{ if and (.Config.lang) (.Result.is_polish) }}{{ .Result.title_polish }}{{ else }}{{ .Result.title_phase1 }}{{ end }}" - details: - selector: a[href^="details.php?id="] - attribute: href - download: - selector: a[href^="download.php/"] - attribute: href - description: - optional: true - selector: img[src^="/pic/cat_pl/"] - attribute: src - filters: - - name: append - args: "Language: polish\n
" - - name: prepend - args: "{{ .Result.description }}" - imdb: - selector: a[href*="imdb.com/title/tt"] - attribute: href - date: - selector: td:nth-child(5) - filters: - - name: append - args: " +00:00" # auto adjusted by site account profile - - name: dateparse - args: "2006-01-0215:04:05 -07:00" - grabs: - selector: td:nth-child(7) - filters: - - name: regexp - args: (\d+) - size: - selector: td:nth-child(6) - seeders: - selector: td:nth-child(8) - leechers: - selector: td:nth-child(9) - downloadvolumefactor: - case: - "img[src=\"pic/ico_disk1.png\"]": 0 - "img[src=\"pic/ico_disk2.png\"]": 1 - "*": 1 - uploadvolumefactor: - text: 1 -# engine tbd diff --git a/src/Jackett.Updater/Program.cs b/src/Jackett.Updater/Program.cs index 144aa0582..b66f57fa9 100644 --- a/src/Jackett.Updater/Program.cs +++ b/src/Jackett.Updater/Program.cs @@ -283,6 +283,7 @@ namespace Jackett.Updater "Definitions/bt-scene.yml", "Definitions/btbit.yml", "Definitions/bteye.yml", + "Definitions/btgigs.yml", "Definitions/btkitty.yml", "Definitions/btstornet.yml", "Definitions/btxpress.yml",