From ff39cd1395257f9e573851c34f9d855da60122d6 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Fri, 18 Sep 2020 14:49:50 +1200 Subject: [PATCH] academictorrents: removed. #7405 --- README.md | 1 - .../Definitions/academictorrents.yml | 104 ------------------ src/Jackett.Updater/Program.cs | 1 + 3 files changed, 1 insertion(+), 105 deletions(-) delete mode 100644 src/Jackett.Common/Definitions/academictorrents.yml diff --git a/README.md b/README.md index 5d097fa2e..bf139576e 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,6 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * 1337x * 7torrents - * AcademicTorrents * ACG.RIP * ACGsou (36DM) * Anidex diff --git a/src/Jackett.Common/Definitions/academictorrents.yml b/src/Jackett.Common/Definitions/academictorrents.yml deleted file mode 100644 index ea9a6542e..000000000 --- a/src/Jackett.Common/Definitions/academictorrents.yml +++ /dev/null @@ -1,104 +0,0 @@ ---- -id: academictorrents -name: AcademicTorrents -description: "AcademicTorrents is a Public Community-Maintained Distributed Repository for datasets and scientific knowledge." -language: en-us -type: public -encoding: UTF-8 -links: - - https://academictorrents.com/ - -caps: - categorymappings: - - {id: 5, cat: Books, desc: "Paper"} - - {id: 6, cat: Other, desc: "Dataset"} - - {id: 7, cat: TV/Documentary, desc: "Course"} - - modes: - search: [q] - -settings: - - name: sort - type: select - label: Sort requested from site - default: "added" - options: - "added": "created" - "seeders": "seeders" - "size": "size" - "name": "title" - - name: type - type: select - label: Order requested from site - default: "DESC" - options: - "DESC": "desc" - "ASC": "asc" - -search: - headers: - # bypass browser check - Cookie: ["check=1872638182319"] - - # https://academictorrents.com/browse.php?search=&c5=1&c6=1&c7=1&sort_field=added&sort_dir=DESC - paths: - - path: browse.php - - path: browse.php - inputs: - page: 1 - inputs: - $raw: "{{ range .Categories }}c{{.}}=1&{{end}}" - search: "{{ .Keywords }}" - sort_field: "{{ .Config.sort }}" - sort_dir: "{{ .Config.type }}" - - rows: - selector: table.table> tbody > tr:has(a[href^="/browse.php?cat="]) - filters: - - name: andmatch - - fields: - category: - selector: a[href^="/browse.php?cat="] - attribute: href - filters: - - name: querystring - args: cat - title: - selector: a[href^="/details/"] - details: - selector: a[href^="/details/"] - attribute: href - download: - # /download/08078e0894099530913e9335bdbc804f42f6e872.torrent" - selector: a[href^="/details/"] - attribute: href - filters: - - name: replace - args: ["/details/", "/download/"] - - name: append - args: ".torrent" - date: - selector: td:nth-child(4) - filters: - - name: dateparse - args: "2006-01-02" - size: - selector: td:nth-child(5) - grabs: - selector: td:nth-child(6) - seeders: - text: 0 - seeders: - selector: td:nth-child(7):not(:empty) - optional: true - filters: - - name: replace - args: ["+", ""] - leechers: - selector: td:nth-child(8) - downloadvolumefactor: - text: 0 - uploadvolumefactor: - text: 1 -# engine n/a diff --git a/src/Jackett.Updater/Program.cs b/src/Jackett.Updater/Program.cs index 034406125..be1181d5c 100644 --- a/src/Jackett.Updater/Program.cs +++ b/src/Jackett.Updater/Program.cs @@ -275,6 +275,7 @@ namespace Jackett.Updater "CurlSharp.dll", "CurlSharp.pdb", "Definitions/420files.yml", + "Definitions/academictorrents.yml", "Definitions/alein.yml", "Definitions/anidex.yml", // migrated to C# "Definitions/aox.yml",