From ab2e41df75b9a06e6e84e2a5c84eddaa27ac2246 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Sat, 11 Jan 2020 19:33:49 +1300 Subject: [PATCH] add ibit a public magnet search engine. resolves #6772 --- README.md | 1 + src/Jackett.Common/Definitions/ibit.yml | 98 +++++++++++++++++++++++++ 2 files changed, 99 insertions(+) create mode 100644 src/Jackett.Common/Definitions/ibit.yml diff --git a/README.md b/README.md index 63bcdee53..af4197e12 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * GloDLS * HDReactor * Horrible Subs + * IBit * Idope * Il Corsaro Nero * Il Corsaro Blu diff --git a/src/Jackett.Common/Definitions/ibit.yml b/src/Jackett.Common/Definitions/ibit.yml new file mode 100644 index 000000000..b33fe89d2 --- /dev/null +++ b/src/Jackett.Common/Definitions/ibit.yml @@ -0,0 +1,98 @@ +--- + site: ibit + name: IBit + description: "IBit is a Public Verified Torrent Search Engine" + language: en-us + type: public + encoding: UTF-8 + links: + - https://ibit.to/ + - https://ibit.uno/ + - https://ibit.am/ + legacylinks: + - https://ibit.ws/ # this is the ibit blog site not the search engine + + caps: + categories: + Movies: Movies + TV: TV + Music: Audio + Games: PC/Games + Software: PC + Anime: TV/Anime + Books: Books + Other: Other + + modes: + search: [q] + tv-search: [q, season, ep] + movie-search: [q] + + settings: + - name: sort + type: select + label: Sort requested from site (applies only to Keyword searches) + default: "uploaded_at:desc" + options: + "uploaded_at:desc": "created desc" + "uploaded_at:asc": "created asc" + "seeders:desc": "seeders desc" + "seeders:asc": "seeders asc" + "size:desc": "size desc" + "size:asc": "size asc" + + download: + selector: script:contains("magnet:?xt=") + filters: + - name: regexp + args: "play\\('(.+?)'" + - name: re_replace + args: ["X-X", ""] + - name: prepend + args: "magnet:?xt=urn:btih:" + - name: append + args: "&dn={{ re_replace .DownloadUri.PathAndQuery \"\\/torrent\\/(.+?)\\/\" \"$1\"}}&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969%2Fannounce&tr=udp%3A%2F%2Fopen.stealth.si%3A80%2Fannounce&tr=udp%3A%2F%2Fexodus.desync.com%3A6969&tr=udp%3A%2F%2Fp4p.arenabg.com%3A1337%2Fannounce&tr=udp%3A%2F%2Fexplodie.org%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.tiny-vps.com%3A6969%2Fannounce&tr=udp%3A%2F%2Fopen.demonii.si%3A1337%2Fannounce&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451%2Fannounce&tr=udp%3A%2F%2Ftracker.pirateparty.gr%3A6969%2Fannounce&tr=udp%3A%2F%2Fipv4.tracker.harry.lu%3A80%2Fannounce&tr=udp%3A%2F%2Ftracker.cyberia.is%3A6969%2Fannounce&tr=udp%3A%2F%2F9.rarbg.to%3A2710%2Fannounce&tr=udp%3A%2F%2Fdenis.stalker.upeer.me%3A6969%2Fannounce" + + search: + paths: + # https://ibit.to/torrent-search/2019/all/uploaded_at:desc/1/ + - path: "torrent-search/{{ if .Keywords }}{{ .Keywords }}{{else}}2019{{end}}/all/{{ .Config.sort }}/1/" + + rows: + selector: table.striped > tbody > tr + filters: + - name: andmatch + + fields: + title: + selector: a[href^="/torrent/"] + details: + selector: a[href^="/torrent/"] + attribute: href + download: + selector: a[href^="/torrent/"] + attribute: href + category: + selector: a[href^="/torrent-search/"] + attribute: title + date: + selector: td:nth-child(4) + filters: + - name: timeago + size: + selector: td:nth-child(5) + seeders: + selector: td:nth-child(6) + filters: + - name: replace + args: [",", ""] + leechers: + selector: td:nth-child(7) + filters: + - name: replace + args: [",", ""] + downloadvolumefactor: + text: 0 + uploadvolumefactor: + text: 1 +# engine n/a