diff --git a/README.md b/README.md index ef99de9f4..db9c57b60 100644 --- a/README.md +++ b/README.md @@ -467,6 +467,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht * Redacted (PassTheHeadphones) * RetroFlix * RevolutionTT + * ROFD * Romanian Metal Torrents (RMT) [![(invite needed)][inviteneeded]](#) * RPTorrents * SceneHD diff --git a/src/Jackett.Common/Definitions/rofd.yml b/src/Jackett.Common/Definitions/rofd.yml new file mode 100644 index 000000000..f5869362f --- /dev/null +++ b/src/Jackett.Common/Definitions/rofd.yml @@ -0,0 +1,176 @@ +--- +id: rofd +name: ROFD +description: "ROFD is a Private GERMAN site for TV / MOVIES / GENERAL" +language: de-de +type: private +encoding: UTF-8 +links: + - https://rofd.me/ + +caps: + categorymappings: + - {id: 14, cat: Movies/SD, desc: "Filme XviD"} + - {id: 15, cat: Movies/HD, desc: "Filme x264/265"} + - {id: 16, cat: Movies/DVD, desc: "Filme DVD"} + - {id: 17, cat: TV/Anime, desc: "Filme Kids/Anime"} + - {id: 18, cat: TV/Documentary, desc: "Filme Doku"} + - {id: 19, cat: Movies/HD, desc: "Filme 720P"} + - {id: 20, cat: Movies/HD, desc: "Filme 720P/x265"} + - {id: 21, cat: Movies/HD, desc: "Filme 1080P"} + - {id: 22, cat: Movies/HD, desc: "Filme 1080P/x265"} + - {id: 23, cat: Movies/BluRay, desc: "Filme Blu-Ray"} + - {id: 24, cat: Movies/BluRay, desc: "Filme Blu-Ray Remux"} + - {id: 25, cat: Movies/UHD, desc: "Filme UHD/4K"} + - {id: 43, cat: Movies/3D, desc: "Filme 3D"} + - {id: 44, cat: Movies, desc: "Filme International"} + - {id: 27, cat: TV/SD, desc: "Serien SD"} + - {id: 28, cat: TV/HD, desc: "Serien HD"} + - {id: 30, cat: Audio/MP3, desc: "Musik mp3"} + - {id: 31, cat: Audio/Lossless, desc: "Musik Flac"} + - {id: 32, cat: Audio/Video, desc: "Musik Video"} + - {id: 34, cat: PC/Games, desc: "Spiele Windows"} + - {id: 35, cat: Console, desc: "Spiele Konsole"} + - {id: 36, cat: Console, desc: "Spiele Wimmel"} + - {id: 37, cat: Audio/Audiobook, desc: "A-Book"} + - {id: 38, cat: Books/EBook, desc: "E-Book/PDF"} + - {id: 39, cat: PC, desc: "SOFTWARE"} + - {id: 40, cat: TV/Sport, desc: "SPORT"} + - {id: 41, cat: Other, desc: "MISC/SONSTIGES"} + - {id: 42, 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: freeleech + type: checkbox + label: Search freeleech only + default: false + - name: sort + type: select + label: Sort requested from site + default: 3 + options: + 3: created + 5: seeders + 4: size + 2: title + - name: type + type: select + label: Order requested from site + default: 2 + options: + 2: desc + 1: asc + - name: info_tpp + type: info + label: Results Per Page + default: For best results, change the Torrents per page: setting to 100 on your account profile. The default is 15. + +login: + path: index.php?page=login + method: post + inputs: + uid: "{{ .Config.username }}" + pwd: "{{ .Config.password }}" + error: + - selector: body[onLoad^="makeAlert('"] + message: + selector: body[onLoad^="makeAlert('"] + attribute: onLoad + filters: + - name: replace + args: ["makeAlert('Error' , '", ""] + - name: replace + args: ["');", ""] + test: + path: index.php + selector: a[href="logout.php"] + +download: + selector: a[href^="download.php?id="] + attribute: href + +search: + paths: + - path: index.php + inputs: + search: "{{ .Keywords }}" + category: "{{ range .Categories }}{{.}};{{end}}" + page: torrents + # 0 all, 1 activeonly, 2 deadonly + active: 0 + # 0 name, 1 name&descr, 2 descr, 3 uploader, 5 gold, 6 silver, 7 bronze + options: "{{ if .Config.freeleech }}5{{ else }}0{{ end }}" + order: "{{ .Config.sort }}" + by: "{{ .Config.type }}" + # does not return imdb link in results, and while a few titles have an imdbid in descr the majority do not. + + rows: + selector: div.b-content > table > tbody > tr > td > table.lista > tbody > tr:has(a[href^="index.php?page=torrent-details&id="]) + + fields: + category: + selector: a[href^="index.php?page=torrents&category="] + attribute: href + filters: + - name: querystring + args: category + title: + selector: a[href^="index.php?page=torrent-details&id="] + details: + selector: a[href^="index.php?page=torrent-details&id="] + attribute: href + download: + selector: a[href^="index.php?page=downloadcheck&id="] + attribute: href + poster: + selector: a[href^="index.php?page=torrent-details&id="] + attribute: onmouseover + filters: + - name: regexp + args: "src=(.+?) " + date: + selector: td:nth-last-child(8) + filters: + - name: append + args: " +00:00" # auto adjusted by site account profile + - name: dateparse + args: "02/01/2006 -07:00" + seeders: + selector: td:nth-last-child(7) + leechers: + selector: td:nth-last-child(6) + grabs: + selector: td:nth-last-child(5) + filters: + - name: replace + args: ["---", "0"] + size: + selector: td:nth-last-child(4) + downloadvolumefactor: + case: + img[src="images/freeleech.gif"]: 0 + img[src="images/gold.gif"]: 0 + img[src="images/silver.gif"]: 0.5 + img[src="images/bronze.gif"]: 0.75 + "*": 1 + uploadvolumefactor: + text: 1 + minimumratio: + text: 1.0 + minimumseedtime: + # 2 days (as seconds = 2 x 24 x 60 x 60) + text: 172800 +# xbtitFM 3.0.00