From dcb079976397cb382586c0ad730b0d1efda3e874 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Tue, 30 Jul 2019 15:14:59 +1200 Subject: [PATCH] ugc: closed 11 months ago. --- README.md | 1 - .../Definitions/ultimategamerclub.yml | 142 ------------------ src/Jackett.Updater/Program.cs | 1 + 3 files changed, 1 insertion(+), 143 deletions(-) delete mode 100644 src/Jackett.Common/Definitions/ultimategamerclub.yml diff --git a/README.md b/README.md index f36d21980..c192d9610 100644 --- a/README.md +++ b/README.md @@ -392,7 +392,6 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * Twilight Torrents * u-torrents (SceneFZ) * UHDBits - * Ultimate Gamer Club (UGC) * UnionGang * UnlimitZ * Vizuk diff --git a/src/Jackett.Common/Definitions/ultimategamerclub.yml b/src/Jackett.Common/Definitions/ultimategamerclub.yml deleted file mode 100644 index 4d9af6270..000000000 --- a/src/Jackett.Common/Definitions/ultimategamerclub.yml +++ /dev/null @@ -1,142 +0,0 @@ -# UGC uses the Luminance code, which is based on gazelle -# ajax.php API additionally needs the auth=$authkey argument -# Because the API is e.g. missing banner images we use screen scraping instead of the generic gazelle based approach - ---- - site: ultimategamerclub - name: Ultimate Gamer Club - description: "Ultimate Gamer (UGC) is a Private Torrent Tracker for GAMES" - language: en-us - type: private - encoding: UTF-8 - links: - - https://ultimategamer.club/ - - caps: - categorymappings: - # Computer - - {id: 10, cat: PC/Games, desc: "Windows"} - - {id: 11, cat: PC/Mac, desc: "Macintosh"} - - {id: 47, cat: PC, desc: "Linux"} - - {id: 56, cat: PC, desc: "VR"} - # Microsoft - - {id: 14, cat: Console/Xbox, desc: "Xbox"} - - {id: 61, cat: Console/Xbox360, desc: "Xbox 360"} - - {id: 62, cat: Console/XboxOne, desc: "Xbox One"} - # Sony - - {id: 43, cat: Console/PS3, desc: "Playstation "} - - {id: 63, cat: Console/PS3, desc: "Playstation 2"} - - {id: 64, cat: Console/PS3, desc: "Playstation 3"} - - {id: 67, cat: Console/PS4, desc: "Playstation 4"} - - {id: 12, cat: Console/Other, desc: "PSN"} - # Nintendo - - {id: 57, cat: Console/Other, desc: "Gamecube"} - - {id: 44, cat: Console/Wii, desc: "Wii"} - - {id: 46, cat: Console/Wii, desc: "Wii U"} - # Handheld - - {id: 15, cat: Console/NDS, desc: "DS"} - - {id: 68, cat: Console/NDS, desc: "3DS"} - - {id: 69, cat: Console/PSP, desc: "PSP"} - - {id: 70, cat: Console/PSVita, desc: "PSVita"} - # Mobile - - {id: 65, cat: PC/Phone-IOS, desc: "iOS"} - - {id: 49, cat: PC/Phone-Android, desc: "Android"} - - {id: 66, cat: PC/Phone-Other, desc: "Windows Mobile"} - # Reading - - {id: 53, cat: Books, desc: "Books/Mags"} - - {id: 60, cat: Books, desc: "Comics"} - - {id: 17, cat: Books, desc: "Guides"} - # Media - - {id: 58, cat: Audio/Video, desc: "Gaming Videos"} - - {id: 52, cat: Audio, desc: "OST"} - - {id: 55, cat: Other, desc: "Time for a Break"} - # Various - - {id: 59, cat: Other, desc: "Mods"} - - {id: 54, cat: Other, desc: "Updates/Fixes"} - - {id: 71, cat: PC/0day, desc: "Applications/Tools"} - - {id: 48, cat: Other, desc: "Retro"} - - {id: 72, cat: Other, desc: "Board Games"} - - {id: 75, cat: Other, desc: "Paper Crafting"} - - modes: - search: [q] - - login: - path: login - method: form - inputs: - username: "{{ .Config.username }}" - password: "{{ .Config.password }}" - cinfo: "2550|1350|24|-60" - keeploggedin: 1 - error: - - selector: form#loginform > span.warning - test: - path: torrents.php - selector: a.username - - search: - paths: - - path: torrents.php - inputs: - $raw: "{{range .Categories}}filter_cat[{{.}}]=1&{{end}}" - title: "{{ .Query.Keywords }}" - order_by: time - order_way: desc - action: basic - searchsubmit: 1 - rows: - # exclude redbar torrents - selector: table#torrent_table > tbody > tr[class^="torrent row"] - fields: - download: - selector: a[href^="torrents.php?action=download&id="] - attribute: href - description: - selector: div.tags - title: - selector: a[href^="/torrents.php?id="] - category: - selector: a[href*="filter_cat"] - attribute: href - filters: - - name: regexp - args: "\\[(\\d+?)\\]" - details: - selector: a[href^="/torrents.php?id="] - attribute: href - banner: - optional: true - selector: td:nth-child(2) > script - filters: - - name: regexp - args: "src=\\\\\"(.*?)\\\\\"" - - name: re_replace - args: ["\\\\(.)", "$1"] - - name: replace - args: ["/static/common/noartwork/noimage.png", ""] - files: - selector: td:nth-child(3) - date: - selector: td:nth-child(5) > span - attribute: title - filters: - - name: append - args: " +00:00" - - name: dateparse - args: "Jan 02 2006, 15:04 -07:00" - size: - selector: td:nth-child(6) - grabs: - selector: td:nth-child(7) - seeders: - selector: td:nth-child(8) - leechers: - selector: td:nth-child(9) - downloadvolumefactor: - case: - "span.fltag": "0" - "*": "1" - uploadvolumefactor: - case: - "*": "1" diff --git a/src/Jackett.Updater/Program.cs b/src/Jackett.Updater/Program.cs index 3aea48d4a..9ff9ea240 100644 --- a/src/Jackett.Updater/Program.cs +++ b/src/Jackett.Updater/Program.cs @@ -342,6 +342,7 @@ namespace Jackett.Updater "Definitions/speed-share.yml", "Definitions/b2s-share.yml", "Definitions/nyoo.yml", + "Definitions/ultimategamerclub.yml", }; foreach (var oldFile in oldFiles)