diff --git a/definitions/v10/anthelion-api.yml b/definitions/v10/anthelion-api.yml index de2df0612..9b7b9010f 100644 --- a/definitions/v10/anthelion-api.yml +++ b/definitions/v10/anthelion-api.yml @@ -8,6 +8,8 @@ description: "Anthelion is a Private MOVIES tracker" language: en-US type: private encoding: UTF-8 +certificates: + - f93e9050553f072f700f6fb60b837edbef6f377d # Expired 25th August 2024 # Status: https://ant.trackerstatus.info/ links: - https://anthelion.me/ diff --git a/definitions/v10/denofsimps-api.yml b/definitions/v10/denofsimps-api.yml index 7fd469ab9..517644dd2 100644 --- a/definitions/v10/denofsimps-api.yml +++ b/definitions/v10/denofsimps-api.yml @@ -139,7 +139,12 @@ search: args: "MM/dd/yyyy HH:mm:ss zzz" size: selector: size - downloadvolumefactor: + _featured: + selector: featured + case: + False: "{{ .False }}" + True: "{{ .True }}" + downloadvolumefactor_freeleech: # api returns 0%, 25%, 50%, 75%, 100% selector: freeleech case: @@ -149,12 +154,16 @@ search: 75%: 0.25 100%: 0 # freeleech "*": 0 # catch errors - uploadvolumefactor: + downloadvolumefactor: + text: "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}" + uploadvolumefactor_double_upload: # api returns False, True selector: double_upload case: False: 1 # normal True: 2 # double + uploadvolumefactor: + text: "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}" # global MR is 1.0 but torrents must be seeded for 5 days regardless of ratio # minimumratio: # text: 1.0 diff --git a/definitions/v10/infinity-api.yml b/definitions/v10/infinity-api.yml index fbe4277d1..d66ec77f8 100644 --- a/definitions/v10/infinity-api.yml +++ b/definitions/v10/infinity-api.yml @@ -149,7 +149,12 @@ search: args: "MM/dd/yyyy HH:mm:ss zzz" size: selector: size - downloadvolumefactor: + _featured: + selector: featured + case: + False: "{{ .False }}" + True: "{{ .True }}" + downloadvolumefactor_freeleech: # api returns 0%, 25%, 50%, 75%, 100% selector: freeleech case: @@ -159,12 +164,16 @@ search: 75%: 0.25 100%: 0 # freeleech "*": 0 # catch errors - uploadvolumefactor: + downloadvolumefactor: + text: "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}" + uploadvolumefactor_double_upload: # api returns False, True selector: double_upload case: False: 1 # normal True: 2 # double + uploadvolumefactor: + text: "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}" minimumseedtime: # 7 days (as seconds = 7 x 24 x 60 x 60) text: 604800 diff --git a/definitions/v10/malayabits-api.yml b/definitions/v10/malayabits-api.yml index 61aea51bb..35cdb8587 100644 --- a/definitions/v10/malayabits-api.yml +++ b/definitions/v10/malayabits-api.yml @@ -151,7 +151,12 @@ search: args: "MM/dd/yyyy HH:mm:ss zzz" size: selector: size - downloadvolumefactor: + _featured: + selector: featured + case: + False: "{{ .False }}" + True: "{{ .True }}" + downloadvolumefactor_freeleech: # api returns 0%, 25%, 50%, 75%, 100% selector: freeleech case: @@ -161,12 +166,16 @@ search: 75%: 0.25 100%: 0 # freeleech "*": 0 # catch errors - uploadvolumefactor: + downloadvolumefactor: + text: "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}" + uploadvolumefactor_double_upload: # api returns False, True selector: double_upload case: False: 1 # normal True: 2 # double + uploadvolumefactor: + text: "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}" # global MR is 0.4 but torrents must be seeded for 5 days regardless of ratio # minimumratio: # text: 0.4 diff --git a/definitions/v10/rudub.yml b/definitions/v10/rudub.yml index 1e4be1f29..b9e418f01 100644 --- a/definitions/v10/rudub.yml +++ b/definitions/v10/rudub.yml @@ -9,11 +9,9 @@ type: semi-private encoding: windows-1251 followredirect: true links: - - https://24august.rudub.online/ + - https://26august.rudub.online/ legacylinks: - https://rudub.online/ - - https://25july.rudub.online/ - - https://26july.rudub.online/ - https://27july.rudub.online/ - https://28july.rudub.online/ - https://29july.rudub.online/ @@ -42,6 +40,8 @@ legacylinks: - https://21august.rudub.online/ - https://22august.rudub.online/ - https://23august.rudub.online/ + - https://24august.rudub.online/ + - https://25august.rudub.online/ caps: categorymappings: diff --git a/definitions/v11/bolly-api.yml b/definitions/v11/bolly-api.yml index c0849be18..8f597a6fd 100644 --- a/definitions/v11/bolly-api.yml +++ b/definitions/v11/bolly-api.yml @@ -149,7 +149,12 @@ search: args: "MM/dd/yyyy HH:mm:ss zzz" size: selector: size - downloadvolumefactor: + _featured: + selector: featured + case: + False: "{{ .False }}" + True: "{{ .True }}" + downloadvolumefactor_freeleech: # api returns 0%, 25%, 50%, 75%, 100% selector: freeleech case: @@ -159,10 +164,14 @@ search: 75%: 0.25 100%: 0 # freeleech "*": 0 # catch errors - uploadvolumefactor: + downloadvolumefactor: + text: "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}" + uploadvolumefactor_double_upload: # api returns False, True selector: double_upload case: False: 1 # normal True: 2 # double + uploadvolumefactor: + text: "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}" # json UNIT3D 8.2.0 diff --git a/definitions/v11/chilebt-api.yml b/definitions/v11/chilebt-api.yml new file mode 100644 index 000000000..aedbfa322 --- /dev/null +++ b/definitions/v11/chilebt-api.yml @@ -0,0 +1,194 @@ +--- +id: chilebt-api +name: ChileBT (API) +description: "ChileBT is a CHILEAN Private Torrent Tracker for MOVIES / TV / GENERAL" +language: es-CL +type: private +encoding: UTF-8 +links: + - https://chilebt.com/ + +caps: + categorymappings: + - {id: 10, cat: Movies, desc: "Movies"} + - {id: 11, cat: TV, desc: "TV"} + - {id: 9, cat: Audio, desc: "Music"} + - {id: 7, cat: Other, desc: "Cultura / Educativos"} + - {id: 8, cat: PC/Games, desc: "Juegos"} + - {id: 6, cat: Books, desc: "EBook"} + - {id: 4, cat: TV/Anime, desc: "Anime"} + - {id: 5, cat: PC/0day, desc: "Aplicaciones / Programas"} + - {id: 14, cat: Movies, desc: "Infantil"} + - {id: 12, cat: Other/Misc, desc: "VIP"} + - {id: 13, cat: XXX, desc: "XXX"} + + modes: + search: [q] + tv-search: [q, season, ep, imdbid, tvdbid, tmdbid] + movie-search: [q, imdbid, tmdbid] + music-search: [q] + book-search: [q] + +settings: + - name: apikey + type: text + label: APIKey + - name: info_key + type: info + label: About your API key + default: "Find or Generate a new API Token by accessing your ChileBT account My Settings page and clicking on the API Key tab." + - name: freeleech + type: checkbox + label: Search freeleech only + default: false + - name: single_file_release_use_filename + type: checkbox + label: Use filename as title for single file releases + default: true + - name: sort + type: select + label: Sort requested from site + default: created_at + options: + created_at: created + seeders: seeders + size: size + name: title + - name: type + type: select + label: Order requested from site + default: desc + options: + desc: desc + asc: asc + +login: + path: /api/torrents + method: get + error: + - selector: a[href*="/login"] + message: + text: "The API key was not accepted by {{ .Config.sitelink }}." + - selector: :root:contains("Account is Banned") + +search: + paths: + # https://github.com/HDInnovations/UNIT3D-Community-Edition/wiki/Torrent-API-(UNIT3D-v8.x.x) + # https://github.com/HDInnovations/UNIT3D-Community-Edition/blob/master/app/Http/Controllers/API/TorrentController.php#L476 + - path: "/api/torrents/filter" + response: + type: json + + headers: + Authorization: ["Bearer {{ .Config.apikey }}"] + + inputs: + # if we have an id based search, add Season and Episode as query in name for UNIT3D < v6. Else pass S/E Params for UNIT3D >= v6 + $raw: "{{ range .Categories }}&categories[]={{.}}{{end}}" + name: "{{ .Keywords }}" + seasonNumber: "{{ .Query.Season }}" + episodeNumber: "{{ .Query.Ep }}" + imdbId: "{{ .Query.IMDBIDShort }}" + tmdbId: "{{ .Query.TMDBID }}" + tvdbId: "{{ .Query.TVDBID }}" + "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}" + sortField: "{{ .Config.sort }}" + sortDirection: "{{ .Config.type }}" + perPage: 100 + + keywordsfilters: + - name: re_replace + args: ["\\.", " "] + + rows: + selector: data + attribute: attributes + + fields: + category: + selector: category_id + title_optional: + selector: name + title_filename: + selector: "files[0].name" + optional: true + files: + selector: num_file + title: + text: "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}" + details: + selector: details_link + download: + selector: download_link + infohash: + selector: info_hash + poster: + selector: meta.poster + filters: + - name: replace + args: ["https://via.placeholder.com/90x135", ""] + imdbid: + selector: imdb_id + tmdbid: + selector: tmdb_id + tvdbid: + selector: tvdb_id + genre: + selector: meta.genres + filters: + - name: re_replace + args: ["(?i)(Science Fiction)", "Science_Fiction"] + - name: re_replace + args: ["(?i)(TV Movie)", "TV_Movie"] + - name: replace + args: [" & ", "_&_"] + description: + text: "{{ .Result.genre }}" + seeders: + selector: seeders + leechers: + selector: leechers + grabs: + selector: times_completed + date: + # "created_at": "2021-10-18T00:34:50.000000Z" is returned by Newtonsoft.Json.Linq as 18/10/2021 00:34:50 + selector: created_at + filters: + - name: append + args: " +00:00" # GMT + - name: dateparse + args: "MM/dd/yyyy HH:mm:ss zzz" + size: + selector: size + _featured: + selector: featured + case: + False: "{{ .False }}" + True: "{{ .True }}" + downloadvolumefactor_freeleech: + # api returns 0%, 25%, 50%, 75%, 100% + selector: freeleech + case: + 0%: 1 # not free + 25%: 0.75 + 50%: 0.5 + 75%: 0.25 + 100%: 0 # freeleech + "*": 0 # catch errors + downloadvolumefactor: + text: "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}" + uploadvolumefactor_double_upload: + # api returns False, True + selector: double_upload + case: + False: 1 # normal + True: 2 # double + uploadvolumefactor: + text: "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}" +# global MR is 0.5 but torrents must be seeded for 7 days regardless of ratio +# minimumratio: +# text: 0.5 + minimumseedtime: + # 7 day (as seconds = 7 x 24 x 60 x 60) + text: 604800 +# json UNIT3D 8.2.0 diff --git a/definitions/v11/seedpool-api.yml b/definitions/v11/seedpool-api.yml index 42d402b49..007cfc135 100644 --- a/definitions/v11/seedpool-api.yml +++ b/definitions/v11/seedpool-api.yml @@ -163,7 +163,12 @@ search: args: "MM/dd/yyyy HH:mm:ss zzz" size: selector: size - downloadvolumefactor: + _featured: + selector: featured + case: + False: "{{ .False }}" + True: "{{ .True }}" + downloadvolumefactor_freeleech: # api returns 0%, 25%, 50%, 75%, 100% selector: freeleech case: @@ -173,12 +178,16 @@ search: 75%: 0.25 100%: 0 # freeleech "*": 0 # catch errors - uploadvolumefactor: + downloadvolumefactor: + text: "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}" + uploadvolumefactor_double_upload: # api returns False, True selector: double_upload case: False: 1 # normal True: 2 # double + uploadvolumefactor: + text: "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}" # global MR is 1.0 but torrents must be seeded for 10 days regardless of ratio # minimumratio: # text: 1.0 diff --git a/definitions/v11/upscalevault.yml b/definitions/v11/upscalevault.yml index d4ad5561b..4ce82045c 100644 --- a/definitions/v11/upscalevault.yml +++ b/definitions/v11/upscalevault.yml @@ -149,7 +149,12 @@ search: args: "MM/dd/yyyy HH:mm:ss zzz" size: selector: size - downloadvolumefactor: + _featured: + selector: featured + case: + False: "{{ .False }}" + True: "{{ .True }}" + downloadvolumefactor_freeleech: # api returns 0%, 25%, 50%, 75%, 100% selector: freeleech case: @@ -159,12 +164,16 @@ search: 75%: 0.25 100%: 0 # freeleech "*": 0 # catch errors - uploadvolumefactor: + downloadvolumefactor: + text: "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}" + uploadvolumefactor_double_upload: # api returns False, True selector: double_upload case: False: 1 # normal True: 2 # double + uploadvolumefactor: + text: "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}" # global MR is 0.5 but torrents must be seeded for 14 days regardless of ratio # minimumratio: # text: 0.5 diff --git a/definitions/v9/aither-api.yml b/definitions/v9/aither-api.yml index 3cec70503..24def0871 100644 --- a/definitions/v9/aither-api.yml +++ b/definitions/v9/aither-api.yml @@ -158,7 +158,12 @@ search: args: "MM/dd/yyyy HH:mm:ss zzz" size: selector: size - downloadvolumefactor: + _featured: + selector: featured + case: + False: "{{ .False }}" + True: "{{ .True }}" + downloadvolumefactor_freeleech: # api returns 0%, 25%, 50%, 75%, 100% selector: freeleech case: @@ -168,12 +173,16 @@ search: 75%: 0.25 100%: 0 # freeleech "*": 0 # catch errors - uploadvolumefactor: + downloadvolumefactor: + text: "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}" + uploadvolumefactor_double_upload: # api returns False, True selector: double_upload case: False: 1 # normal True: 2 # double + uploadvolumefactor: + text: "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}" # global MR is 0.4 but torrents must be seeded for 5 days regardless of ratio # minimumratio: # text: 0.4 diff --git a/definitions/v9/animeworld-api.yml b/definitions/v9/animeworld-api.yml index b49837cb2..c04bfca52 100644 --- a/definitions/v9/animeworld-api.yml +++ b/definitions/v9/animeworld-api.yml @@ -167,7 +167,12 @@ search: args: "MM/dd/yyyy HH:mm:ss zzz" size: selector: size - downloadvolumefactor: + _featured: + selector: featured + case: + False: "{{ .False }}" + True: "{{ .True }}" + downloadvolumefactor_freeleech: # api returns 0%, 25%, 50%, 75%, 100% selector: freeleech case: @@ -177,12 +182,16 @@ search: 75%: 0.25 100%: 0 # freeleech "*": 0 # catch errors - uploadvolumefactor: + downloadvolumefactor: + text: "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}" + uploadvolumefactor_double_upload: # api returns False, True selector: double_upload case: False: 1 # normal True: 2 # double + uploadvolumefactor: + text: "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}" # global MR is 1.0 but torrents must be seeded for 7 days regardless of ratio # minimumratio: # text: 1.0 diff --git a/definitions/v9/blutopia-api.yml b/definitions/v9/blutopia-api.yml index 8bbdc33d1..c9cebe850 100644 --- a/definitions/v9/blutopia-api.yml +++ b/definitions/v9/blutopia-api.yml @@ -158,7 +158,12 @@ search: args: "MM/dd/yyyy HH:mm:ss zzz" size: selector: size - downloadvolumefactor: + _featured: + selector: featured + case: + False: "{{ .False }}" + True: "{{ .True }}" + downloadvolumefactor_freeleech: # api returns 0%, 25%, 50%, 75%, 100% selector: freeleech case: @@ -168,12 +173,16 @@ search: 75%: 0.25 100%: 0 # freeleech "*": 0 # catch errors - uploadvolumefactor: + downloadvolumefactor: + text: "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}" + uploadvolumefactor_double_upload: # api returns False, True selector: double_upload case: False: 1 # normal True: 2 # double + uploadvolumefactor: + text: "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}" # global MR is 0.4 but torrents must be seeded for 7 days regardless of ratio # minimumratio: # text: 0.4 diff --git a/definitions/v9/capybarabr.yml b/definitions/v9/capybarabr.yml index 175840124..e72b0b87b 100644 --- a/definitions/v9/capybarabr.yml +++ b/definitions/v9/capybarabr.yml @@ -165,7 +165,13 @@ search: args: "MM/dd/yyyy HH:mm:ss zzz" size: selector: size - downloadvolumefactor: + _featured: + selector: featured + optional: true + case: + False: "{{ .False }}" + True: "{{ .True }}" + downloadvolumefactor_freeleech: # api returns 0%, 25%, 50%, 75%, 100% selector: freeleech case: @@ -175,16 +181,20 @@ search: 75%: 0.25 100%: 0 # freeleech "*": 0 # catch errors - uploadvolumefactor: + downloadvolumefactor: + text: "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}" + uploadvolumefactor_double_upload: # api returns False, True selector: double_upload case: False: 1 # normal True: 2 # double + uploadvolumefactor: + text: "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}" # global MR is 1.0 but torrents must be seeded for 7 days regardless of ratio # minimumratio: # text: 1.0 minimumseedtime: # 7 days (as seconds = 7 x 24 x 60 x 60) text: 604800 -# json UNIT3D 8.1.3 (custom) +# json UNIT3D 8.0.2 (custom) diff --git a/definitions/v9/chilebt.yml b/definitions/v9/chilebt.yml deleted file mode 100644 index dfabb6b2a..000000000 --- a/definitions/v9/chilebt.yml +++ /dev/null @@ -1,211 +0,0 @@ ---- -id: chilebt -name: ChileBT -description: "ChileBT is a CHILEAN Private Torrent Tracker for MOVIES / TV / GENERAL" -language: es-CL -type: private -encoding: UTF-8 -links: - - https://chilebt.com/ - -caps: - categorymappings: - - {id: 10, cat: Movies, desc: "Movies"} - - {id: 11, cat: TV, desc: "TV"} - - {id: 9, cat: Audio, desc: "Music"} - - {id: 7, cat: Other, desc: "Cultura / Educativos"} - - {id: 8, cat: PC/Games, desc: "Juegos"} - - {id: 6, cat: Books, desc: "EBook"} - - {id: 4, cat: TV/Anime, desc: "Anime"} - - {id: 5, cat: PC/0day, desc: "Aplicaciones / Programas"} - - {id: 14, cat: Movies, desc: "Infantil"} - - {id: 12, cat: Other/Misc, desc: "VIP"} - - {id: 13, cat: XXX, desc: "XXX"} - - modes: - search: [q] - tv-search: [q, season, ep, imdbid, tvdbid, tmdbid] - movie-search: [q, imdbid, tmdbid] - 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: created_at - options: - created_at: created - seeders: seeders - size: size - name: title - - name: type - type: select - label: Order requested from site - default: desc - options: - desc: desc - asc: asc - -login: - path: login - method: form - form: form[action$="/login"] - inputs: - username: "{{ .Config.username }}" - password: "{{ .Config.password }}" - remember: on - selectorinputs: - _token: - selector: input[name="_token"] - attribute: value - error: - - selector: script[nonce]:contains("Error") - message: - selector: script[nonce]:contains("Error") -# test: -# path: / -# selector: a[href$="/logout"] - -search: - paths: - - path: filterTorrents - inputs: - $raw: "{{ range .Categories }}categories[]={{.}}&{{end}}" - search: "{{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}" # for dashboard imdbid search - imdb: "{{ .Query.IMDBIDShort }}" - tvdb: "{{ .Query.TVDBID }}" - tmdb: "{{ .Query.TMDBID }}" - sorting: "{{ .Config.sort }}" - direction: "{{ .Config.type }}" - qty: 50 - page: 0 - view: list - freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}" - # can search by genre but need range support. &genres[]=Action&genres[]=Comedy for Action and Comedy - - rows: - selector: table > tbody > tr - - fields: - category: - selector: a[href*="/categories/"] - attribute: href - filters: - - name: regexp - args: "/categories/.*?\\.(\\d+)" - title: - selector: a.view-torrent - download: - selector: a[href*="/download/"] - attribute: href - details: - selector: a.view-torrent - attribute: href - poster: - selector: div.torrent-poster img - attribute: src - filters: - - name: prepend - args: "https://images.weserv.nl/?url=" # for display on dashboard - - name: append - args: "&w=180&h=270" # for display on dashboard - - name: replace - args: ["https://images.weserv.nl/?url=https://via.placeholder.com/600x900&w=180&h=270", ""] - genre: - selector: td:nth-last-child(6) - filters: - - name: replace - args: ["\n", ""] - - name: re_replace - args: ["(?i)(Science Fiction)", "Science_Fiction"] - - name: validate - args: "Action, Adventure, Animation, Biography, Comedy, Crime, Documentary, Drama, Family, Fantasy, Game-Show, History, Horror, Music, Musical, Mystery, News, Reality-TV, Romance, Science_Fiction, Sitcom, Sport, Talk-Show, Thriller, War, Western" - description: - text: "{{ .Result.genre }}" - size: - selector: td:nth-last-child(4) - seeders: - selector: td:nth-last-child(3) - leechers: - selector: td:nth-last-child(2) - grabs: - selector: td:nth-last-child(1) - imdbid: - selector: a[href*="imdb.com/title/tt"] - attribute: href - tmdbid: - selector: a[href*="themoviedb.org/movie/"], a[href*="themoviedb.org/tv/"] - attribute: href - date: - selector: time - filters: - # translations for Turkish|Estonian|Danish|Italian|Polish|Norwegian|Portuguese|Czech|Russian|Romanian|Spanish|French|German|Bulgarian|Dutch|Chinese|Japanese|Swedish - - name: re_replace - args: ["(?i)(önce|tagasi|geleden|fa|temu|siden|há|atrás|nazpět|назад|acum|în urmă|hace|il y a|vor|преди|前|sedan)", " ago"] - - name: re_replace - args: ["(?i)(saniye|sekundit|sekunder|secondi|sekund|segundos|sekundami|секунд|secunde|secondes|Sekunden|секунди|seconden|秒前)", "seconds"] - - name: re_replace - args: ["(?i)(minutit|minutter|minuti|minuty|minutos|минуты|минут|Minuten|минути|minuten|minuter)", "minutes"] - - name: re_replace - args: ["(?i)(dakika|minut|minuto|minuta|minutt|минута|Minute|minuut|分钟|分)", " minute"] - - name: re_replace - args: ["(?i)(tundi|timer|ore|godziny|horas|hodiny|hoden|часа|часов|ore|heures|Stunden|timmar)", "hours"] - - name: re_replace - args: ["(?i)(saat|tund|time|ora|godzina|hora|hodina|час|oră|heure|Stunde|uur|小时|時間|timme)", " hour"] - - name: re_replace - args: ["(?i)(päeva|dage|giorni|dni|dias|dny|дня|дней|zile|días|jours|Tagen|дни|dagen|dagar)", "days"] - - name: re_replace - args: ["(?i)(gün|päev|dag|giorno|dzień|dia|den|день|zi|día|jour|Tag|ден|天|日)", " day"] - - name: re_replace - args: ["(?i)(nädalat|uger|settimane|tygodnie|uker|semanas|týdny|недели|недель|săptămâni|semaines|Wochen|седмици|weken|veckor)", "weeks"] - - name: re_replace - args: ["(?i)(hafta|nädal|uge|settimana|tydzień|uke|semana|týden|неделю|săptămână|semaine|Woche|седмица|周|週間|vecka)", " week"] - - name: re_replace - args: ["(?i) (ay)", "month"] - - name: re_replace - args: ["(?i)(kuud|måneder|mesi|miesiące|meses|měsíce|месяца|месяцев|luni|meses|mois|Monaten|месеца|maanden|månader)", "months"] - - name: re_replace - args: ["(?i)(kuu|måned|mese|miesiąc|mês|měsíc|месяц|lună|mes|Monat|месец|maand|个月|ヶ月|månad)", " month"] - - name: re_replace - args: ["(?i)(aastat|anni|lata|anos|roky|года|ani|años|ans|Jahren|години)", " years"] - - name: re_replace - args: ["(?i)(yil|aasta|år|anno|rok|ano|год|año|Jahr|година|jaar|年)", " year"] - - name: re_replace - args: ["(?i) (an)", "year"] - - name: re_replace - args: ["(?i)(För |und)", ""] # Misc removals - - name: timeago - downloadvolumefactor: - case: - i[class*="fa-id-badge text-orange"]: 0 # 24 Hour FreeLeech From BON Store - i[class*="fa-trophy text-purple"]: 0 # Special FreeLeech For Certain User Groups - i[class*="fa-star text-bold"]: 0 # Freeleech From Token - i[class*="fa-coins text-bold"]: 0 # Freeleech From Token - i[class*="fa-globe text-blue"]: 0 # Global Freeleech - i[class*="fa-star text-gold"]: 0 # Freeleech - i[class*="fa-certificate text-pink"]: 0 # Featured Torrent - "*": 1 - uploadvolumefactor: - case: - i[class*="fa-gem text-green"]: 2 # Single Torrent Double Upload - i[class*="fa-globe text-green"]: 2 # Global Double Upload - i[class*="fa-certificate text-pink"]: 2 # Featured Torrent - "*": 1 -# global MR is 0.5 but torrents must be seeded for 7 days regardless of ratio -# minimumratio: -# text: 0.5 - minimumseedtime: - # 7 day (as seconds = 7 x 24 x 60 x 60) - text: 604800 -# UNIT3D 1.9.3 diff --git a/definitions/v9/cinematik.yml b/definitions/v9/cinematik.yml index 4ce627ca1..ab1768bed 100644 --- a/definitions/v9/cinematik.yml +++ b/definitions/v9/cinematik.yml @@ -160,7 +160,12 @@ search: args: "MM/dd/yyyy HH:mm:ss zzz" size: selector: size - downloadvolumefactor: + _featured: + selector: featured + case: + False: "{{ .False }}" + True: "{{ .True }}" + downloadvolumefactor_freeleech: # api returns 0%, 25%, 50%, 75%, 100% selector: freeleech case: @@ -170,12 +175,16 @@ search: 75%: 0.25 100%: 0 # freeleech "*": 0 # catch errors - uploadvolumefactor: + downloadvolumefactor: + text: "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}" + uploadvolumefactor_double_upload: # api returns False, True selector: double_upload case: False: 1 # normal True: 2 # double + uploadvolumefactor: + text: "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}" # global MR is 0.6 but torrents must be seeded for 7 days regardless of ratio # minimumratio: # text: 0.6 diff --git a/definitions/v9/fearnopeer.yml b/definitions/v9/fearnopeer.yml index 235d3cb65..82a38d1a6 100644 --- a/definitions/v9/fearnopeer.yml +++ b/definitions/v9/fearnopeer.yml @@ -158,7 +158,12 @@ search: args: "MM/dd/yyyy HH:mm:ss zzz" size: selector: size - downloadvolumefactor: + _featured: + selector: featured + case: + False: "{{ .False }}" + True: "{{ .True }}" + downloadvolumefactor_freeleech: # api returns 0%, 25%, 50%, 75%, 100% selector: freeleech case: @@ -168,12 +173,16 @@ search: 75%: 0.25 100%: 0 # freeleech "*": 0 # catch errors - uploadvolumefactor: + downloadvolumefactor: + text: "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}" + uploadvolumefactor_double_upload: # api returns False, True selector: double_upload case: False: 1 # normal True: 2 # double + uploadvolumefactor: + text: "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}" # Maintain global ratio above 0.6 or downloads will get disabled. No MST. minimumratio: text: 0.61 diff --git a/definitions/v9/hd-unit3d-api.yml b/definitions/v9/hd-unit3d-api.yml index e272e582a..907039e19 100644 --- a/definitions/v9/hd-unit3d-api.yml +++ b/definitions/v9/hd-unit3d-api.yml @@ -157,7 +157,12 @@ search: args: "MM/dd/yyyy HH:mm:ss zzz" size: selector: size - downloadvolumefactor: + _featured: + selector: featured + case: + False: "{{ .False }}" + True: "{{ .True }}" + downloadvolumefactor_freeleech: # api returns 0%, 25%, 50%, 75%, 100% selector: freeleech case: @@ -167,12 +172,16 @@ search: 75%: 0.25 100%: 0 # freeleech "*": 0 # catch errors - uploadvolumefactor: + downloadvolumefactor: + text: "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}" + uploadvolumefactor_double_upload: # api returns False, True selector: double_upload case: False: 1 # normal True: 2 # double + uploadvolumefactor: + text: "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}" minimumseedtime: # 3 days (as seconds = 3 x 24 x 60 x 60) text: 259200 diff --git a/definitions/v9/hdtorrentsit.yml b/definitions/v9/hdtorrentsit.yml index a29ca0b1d..0f0f08ce2 100644 --- a/definitions/v9/hdtorrentsit.yml +++ b/definitions/v9/hdtorrentsit.yml @@ -163,7 +163,12 @@ search: args: "MM/dd/yyyy HH:mm:ss zzz" size: selector: size - downloadvolumefactor: + _featured: + selector: featured + case: + False: "{{ .False }}" + True: "{{ .True }}" + downloadvolumefactor_freeleech: # api returns 0%, 25%, 50%, 75%, 100% selector: freeleech case: @@ -173,11 +178,15 @@ search: 75%: 0.25 100%: 0 # freeleech "*": 0 # catch errors - uploadvolumefactor: + downloadvolumefactor: + text: "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}" + uploadvolumefactor_double_upload: # api returns False, True selector: double_upload case: False: 1 # normal True: 2 # double + uploadvolumefactor: + text: "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}" # as a pay site there is no MR or MST # json UNIT3D 8.1.3 (custom) diff --git a/definitions/v9/itatorrents.yml b/definitions/v9/itatorrents.yml index b9b3f4de1..630d62565 100644 --- a/definitions/v9/itatorrents.yml +++ b/definitions/v9/itatorrents.yml @@ -173,7 +173,12 @@ search: args: "MM/dd/yyyy HH:mm:ss zzz" size: selector: size - downloadvolumefactor: + _featured: + selector: featured + case: + False: "{{ .False }}" + True: "{{ .True }}" + downloadvolumefactor_freeleech: # api returns 0%, 25%, 50%, 75%, 100% selector: freeleech case: @@ -183,12 +188,16 @@ search: 75%: 0.25 100%: 0 # freeleech "*": 0 # catch errors - uploadvolumefactor: + downloadvolumefactor: + text: "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}" + uploadvolumefactor_double_upload: # api returns False, True selector: double_upload case: False: 1 # normal True: 2 # double + uploadvolumefactor: + text: "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}" minimumseedtime: # 7 days (as seconds = 7 x 24 x 60 x 60) text: 604800 diff --git a/definitions/v9/lastdigitalunderground.yml b/definitions/v9/lastdigitalunderground.yml index 08ac336e0..4ba74b111 100644 --- a/definitions/v9/lastdigitalunderground.yml +++ b/definitions/v9/lastdigitalunderground.yml @@ -196,7 +196,12 @@ search: args: "MM/dd/yyyy HH:mm:ss zzz" size: selector: size - downloadvolumefactor: + _featured: + selector: featured + case: + False: "{{ .False }}" + True: "{{ .True }}" + downloadvolumefactor_freeleech: # api returns 0%, 25%, 50%, 75%, 100% selector: freeleech case: @@ -206,12 +211,16 @@ search: 75%: 0.25 100%: 0 # freeleech "*": 0 # catch errors - uploadvolumefactor: + downloadvolumefactor: + text: "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}" + uploadvolumefactor_double_upload: # api returns False, True selector: double_upload case: False: 1 # normal True: 2 # double + uploadvolumefactor: + text: "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}" # global MR is 0.4 but torrents must be seeded for 7 days regardless of ratio # minimumratio: # text: 0.4 diff --git a/definitions/v9/lat-team-api.yml b/definitions/v9/lat-team-api.yml index 3b6080264..148bb4141 100644 --- a/definitions/v9/lat-team-api.yml +++ b/definitions/v9/lat-team-api.yml @@ -170,7 +170,12 @@ search: args: "MM/dd/yyyy HH:mm:ss zzz" size: selector: size - downloadvolumefactor: + _featured: + selector: featured + case: + False: "{{ .False }}" + True: "{{ .True }}" + downloadvolumefactor_freeleech: # api returns 0%, 25%, 50%, 75%, 100% selector: freeleech case: @@ -180,16 +185,20 @@ search: 75%: 0.25 100%: 0 # freeleech "*": 0 # catch errors - uploadvolumefactor: + downloadvolumefactor: + text: "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}" + uploadvolumefactor_double_upload: # api returns False, True selector: double_upload case: False: 1 # normal True: 2 # double + uploadvolumefactor: + text: "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}" # global MR is 0.25 but torrents must be seeded for 3 days regardless of ratio # minimumratio: # text: 0.25 minimumseedtime: # 3 days (as seconds = 3 x 24 x 60 x 60) text: 259200 -# json UNIT3D 8.0.2 (custom) +# json UNIT3D 8.2.0 (custom) diff --git a/definitions/v9/leech24-api.yml b/definitions/v9/leech24-api.yml index 010892d5d..7bc13f3f7 100644 --- a/definitions/v9/leech24-api.yml +++ b/definitions/v9/leech24-api.yml @@ -159,7 +159,12 @@ search: args: "MM/dd/yyyy HH:mm:ss zzz" size: selector: size - downloadvolumefactor: + _featured: + selector: featured + case: + False: "{{ .False }}" + True: "{{ .True }}" + downloadvolumefactor_freeleech: # api returns 0%, 25%, 50%, 75%, 100% selector: freeleech case: @@ -169,12 +174,16 @@ search: 75%: 0.25 100%: 0 # freeleech "*": 0 # catch errors - uploadvolumefactor: + downloadvolumefactor: + text: "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}" + uploadvolumefactor_double_upload: # api returns False, True selector: double_upload case: False: 1 # normal True: 2 # double + uploadvolumefactor: + text: "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}" # global MR is 1.0 but torrents must be seeded for 7 days regardless of ratio # minimumratio: # text: 1.0 diff --git a/definitions/v9/lst.yml b/definitions/v9/lst.yml index 4155806cc..a6446ea72 100644 --- a/definitions/v9/lst.yml +++ b/definitions/v9/lst.yml @@ -162,7 +162,12 @@ search: args: "MM/dd/yyyy HH:mm:ss zzz" size: selector: size - downloadvolumefactor: + _featured: + selector: featured + case: + False: "{{ .False }}" + True: "{{ .True }}" + downloadvolumefactor_freeleech: # api returns 0%, 25%, 50%, 75%, 100% selector: freeleech case: @@ -172,12 +177,16 @@ search: 75%: 0.25 100%: 0 # freeleech "*": 0 # catch errors - uploadvolumefactor: + downloadvolumefactor: + text: "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}" + uploadvolumefactor_double_upload: # api returns False, True selector: double_upload case: False: 1 # normal True: 2 # double + uploadvolumefactor: + text: "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}" # global MR is 1.0 but torrents must be seeded for 5 days regardless of ratio # minimumratio: # text: 1.0 diff --git a/definitions/v9/ntelogo.yml b/definitions/v9/ntelogo.yml index e6c917ba7..452cde942 100644 --- a/definitions/v9/ntelogo.yml +++ b/definitions/v9/ntelogo.yml @@ -163,7 +163,12 @@ search: args: "MM/dd/yyyy HH:mm:ss zzz" size: selector: size - downloadvolumefactor: + _featured: + selector: featured + case: + False: "{{ .False }}" + True: "{{ .True }}" + downloadvolumefactor_freeleech: # api returns 0%, 25%, 50%, 75%, 100% selector: freeleech case: @@ -173,12 +178,16 @@ search: 75%: 0.25 100%: 0 # freeleech "*": 0 # catch errors - uploadvolumefactor: + downloadvolumefactor: + text: "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}" + uploadvolumefactor_double_upload: # api returns False, True selector: double_upload case: False: 1 # normal True: 2 # double + uploadvolumefactor: + text: "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}" minimumseedtime: # 7 day (as seconds = 7 x 24 x 60 x 60) text: 604800 diff --git a/definitions/v9/oldtoonsworld.yml b/definitions/v9/oldtoonsworld.yml index 406f8b4a3..ac9599d3d 100644 --- a/definitions/v9/oldtoonsworld.yml +++ b/definitions/v9/oldtoonsworld.yml @@ -159,7 +159,12 @@ search: args: "MM/dd/yyyy HH:mm:ss zzz" size: selector: size - downloadvolumefactor: + _featured: + selector: featured + case: + False: "{{ .False }}" + True: "{{ .True }}" + downloadvolumefactor_freeleech: # api returns 0%, 25%, 50%, 75%, 100% selector: freeleech case: @@ -169,12 +174,16 @@ search: 75%: 0.25 100%: 0 # freeleech "*": 0 # catch errors - uploadvolumefactor: + downloadvolumefactor: + text: "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}" + uploadvolumefactor_double_upload: # api returns False, True selector: double_upload case: False: 1 # normal True: 2 # double + uploadvolumefactor: + text: "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}" # global MR is 0.4 but torrents must be seeded for 7 days regardless of ratio # minimumratio: # text: 0.4 diff --git a/definitions/v9/onlyencodes-api.yml b/definitions/v9/onlyencodes-api.yml index 6e2888396..8ea8b581a 100644 --- a/definitions/v9/onlyencodes-api.yml +++ b/definitions/v9/onlyencodes-api.yml @@ -154,7 +154,12 @@ search: args: "MM/dd/yyyy HH:mm:ss zzz" size: selector: size - downloadvolumefactor: + _featured: + selector: featured + case: + False: "{{ .False }}" + True: "{{ .True }}" + downloadvolumefactor_freeleech: # api returns 0%, 25%, 50%, 75%, 100% selector: freeleech case: @@ -164,12 +169,16 @@ search: 75%: 0.25 100%: 0 # freeleech "*": 0 # catch errors - uploadvolumefactor: + downloadvolumefactor: + text: "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}" + uploadvolumefactor_double_upload: # api returns False, True selector: double_upload case: False: 1 # normal True: 2 # double + uploadvolumefactor: + text: "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}" # global MR is 0.4 but torrents must be seeded for 2 days regardless of ratio # minimumratio: # text: 0.4 diff --git a/definitions/v9/plusteca.yml b/definitions/v9/plusteca.yml index 09a8169ad..84df67890 100644 --- a/definitions/v9/plusteca.yml +++ b/definitions/v9/plusteca.yml @@ -158,7 +158,12 @@ search: args: "MM/dd/yyyy HH:mm:ss zzz" size: selector: size - downloadvolumefactor: + _featured: + selector: featured + case: + False: "{{ .False }}" + True: "{{ .True }}" + downloadvolumefactor_freeleech: # api returns 0%, 25%, 50%, 75%, 100% selector: freeleech case: @@ -168,12 +173,16 @@ search: 75%: 0.25 100%: 0 # freeleech "*": 0 # catch errors - uploadvolumefactor: + downloadvolumefactor: + text: "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}" + uploadvolumefactor_double_upload: # api returns False, True selector: double_upload case: False: 1 # normal True: 2 # double + uploadvolumefactor: + text: "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}" minimumseedtime: # 5 days (as seconds = 5 x 24 x 60 x 60) text: 432000 diff --git a/definitions/v9/polishtorrent.yml b/definitions/v9/polishtorrent.yml index a2cd0076e..a8eb7c869 100644 --- a/definitions/v9/polishtorrent.yml +++ b/definitions/v9/polishtorrent.yml @@ -201,7 +201,12 @@ search: args: "MM/dd/yyyy HH:mm:ss zzz" size: selector: size - downloadvolumefactor: + _featured: + selector: featured + case: + False: "{{ .False }}" + True: "{{ .True }}" + downloadvolumefactor_freeleech: # api returns 0%, 25%, 50%, 75%, 100% selector: freeleech case: @@ -211,12 +216,16 @@ search: 75%: 0.25 100%: 0 # freeleech "*": 0 # catch errors - uploadvolumefactor: + downloadvolumefactor: + text: "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}" + uploadvolumefactor_double_upload: # api returns False, True selector: double_upload case: False: 1 # normal True: 2 # double + uploadvolumefactor: + text: "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}" minimumseedtime: # 7 day (as seconds = 7 x 24 x 60 x 60) text: 604800 diff --git a/definitions/v9/reelflix-api.yml b/definitions/v9/reelflix-api.yml index 155a7b066..0a4f05cd6 100644 --- a/definitions/v9/reelflix-api.yml +++ b/definitions/v9/reelflix-api.yml @@ -157,7 +157,12 @@ search: args: "MM/dd/yyyy HH:mm:ss zzz" size: selector: size - downloadvolumefactor: + _featured: + selector: featured + case: + False: "{{ .False }}" + True: "{{ .True }}" + downloadvolumefactor_freeleech: # api returns 0%, 25%, 50%, 75%, 100% selector: freeleech case: @@ -167,12 +172,16 @@ search: 75%: 0.25 100%: 0 # freeleech "*": 0 # catch errors - uploadvolumefactor: + downloadvolumefactor: + text: "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}" + uploadvolumefactor_double_upload: # api returns False, True selector: double_upload case: False: 1 # normal True: 2 # double + uploadvolumefactor: + text: "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}" minimumratio: text: 1.0 # json UNIT3D 8.1.3 diff --git a/definitions/v9/shareisland-api.yml b/definitions/v9/shareisland-api.yml index df7ac7e09..acf76704a 100644 --- a/definitions/v9/shareisland-api.yml +++ b/definitions/v9/shareisland-api.yml @@ -194,7 +194,12 @@ search: args: "MM/dd/yyyy HH:mm:ss zzz" size: selector: size - downloadvolumefactor: + _featured: + selector: featured + case: + False: "{{ .False }}" + True: "{{ .True }}" + downloadvolumefactor_freeleech: # api returns 0%, 25%, 50%, 75%, 100% selector: freeleech case: @@ -204,12 +209,16 @@ search: 75%: 0.25 100%: 0 # freeleech "*": 0 # catch errors - uploadvolumefactor: + downloadvolumefactor: + text: "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}" + uploadvolumefactor_double_upload: # api returns False, True selector: double_upload case: False: 1 # normal True: 2 # double + uploadvolumefactor: + text: "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}" # global MR is 0.4 but torrents must be seeded for 7 days regardless of ratio # minimumratio: # text: 0.4 diff --git a/definitions/v9/skipthecommercials-api.yml b/definitions/v9/skipthecommercials-api.yml index 9d42ae438..c446fc1a7 100644 --- a/definitions/v9/skipthecommercials-api.yml +++ b/definitions/v9/skipthecommercials-api.yml @@ -154,7 +154,12 @@ search: args: "MM/dd/yyyy HH:mm:ss zzz" size: selector: size - downloadvolumefactor: + _featured: + selector: featured + case: + False: "{{ .False }}" + True: "{{ .True }}" + downloadvolumefactor_freeleech: # api returns 0%, 25%, 50%, 75%, 100% selector: freeleech case: @@ -164,12 +169,16 @@ search: 75%: 0.25 100%: 0 # freeleech "*": 0 # catch errors - uploadvolumefactor: + downloadvolumefactor: + text: "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}" + uploadvolumefactor_double_upload: # api returns False, True selector: double_upload case: False: 1 # normal True: 2 # double + uploadvolumefactor: + text: "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}" minimumseedtime: # 7 days (as seconds = 7 x 24 x 60 x 60) text: 604800 diff --git a/definitions/v9/torrenteros-api.yml b/definitions/v9/torrenteros-api.yml index 6b181a0a8..8dc94ebdf 100644 --- a/definitions/v9/torrenteros-api.yml +++ b/definitions/v9/torrenteros-api.yml @@ -150,7 +150,12 @@ search: args: "MM/dd/yyyy HH:mm:ss zzz" size: selector: size - downloadvolumefactor: + _featured: + selector: featured + case: + False: "{{ .False }}" + True: "{{ .True }}" + downloadvolumefactor_freeleech: # api returns 0%, 25%, 50%, 75%, 100% selector: freeleech case: @@ -160,12 +165,16 @@ search: 75%: 0.25 100%: 0 # freeleech "*": 0 # catch errors - uploadvolumefactor: + downloadvolumefactor: + text: "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}" + uploadvolumefactor_double_upload: # api returns False, True selector: double_upload case: False: 1 # normal True: 2 # double + uploadvolumefactor: + text: "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}" # global MR is 0.25 but torrents must be seeded for 3 days regardless of ratio # minimumratio: # text: 0.25 diff --git a/definitions/v9/turkseed-api.yml b/definitions/v9/turkseed-api.yml index de2bf67f4..406323d56 100644 --- a/definitions/v9/turkseed-api.yml +++ b/definitions/v9/turkseed-api.yml @@ -169,7 +169,12 @@ search: args: "MM/dd/yyyy HH:mm:ss zzz" size: selector: size - downloadvolumefactor: + _featured: + selector: featured + case: + False: "{{ .False }}" + True: "{{ .True }}" + downloadvolumefactor_freeleech: # api returns 0%, 25%, 50%, 75%, 100% selector: freeleech case: @@ -179,12 +184,16 @@ search: 75%: 0.25 100%: 0 # freeleech "*": 0 # catch errors - uploadvolumefactor: + downloadvolumefactor: + text: "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}" + uploadvolumefactor_double_upload: # api returns False, True selector: double_upload case: False: 1 # normal True: 2 # double + uploadvolumefactor: + text: "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}" minimumratio: text: 0.5 minimumseedtime: diff --git a/definitions/v9/uploadcx.yml b/definitions/v9/uploadcx.yml index b3178ba14..4013a2ee5 100644 --- a/definitions/v9/uploadcx.yml +++ b/definitions/v9/uploadcx.yml @@ -154,7 +154,12 @@ search: args: "MM/dd/yyyy HH:mm:ss zzz" size: selector: size - downloadvolumefactor: + _featured: + selector: featured + case: + False: "{{ .False }}" + True: "{{ .True }}" + downloadvolumefactor_freeleech: # api returns 0%, 25%, 50%, 75%, 100% selector: freeleech case: @@ -164,12 +169,16 @@ search: 75%: 0.25 100%: 0 # freeleech "*": 0 # catch errors - uploadvolumefactor: + downloadvolumefactor: + text: "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}" + uploadvolumefactor_double_upload: # api returns False, True selector: double_upload case: False: 1 # normal True: 2 # double + uploadvolumefactor: + text: "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}" # global MR is 0.4 but torrents must be seeded for 2 days regardless of ratio # minimumratio: # text: 0.4 diff --git a/definitions/v9/utopia.yml b/definitions/v9/utopia.yml index 21a6c0814..a20df378e 100644 --- a/definitions/v9/utopia.yml +++ b/definitions/v9/utopia.yml @@ -163,7 +163,12 @@ search: args: "MM/dd/yyyy HH:mm:ss zzz" size: selector: size - downloadvolumefactor: + _featured: + selector: featured + case: + False: "{{ .False }}" + True: "{{ .True }}" + downloadvolumefactor_freeleech: # api returns 0%, 25%, 50%, 75%, 100% selector: freeleech case: @@ -173,12 +178,16 @@ search: 75%: 0.25 100%: 0 # freeleech "*": 0 # catch errors - uploadvolumefactor: + downloadvolumefactor: + text: "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}" + uploadvolumefactor_double_upload: # api returns False, True selector: double_upload case: False: 1 # normal True: 2 # double + uploadvolumefactor: + text: "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}" # global MR is 0.4 but torrents must be seeded for 3 days regardless of ratio # minimumratio: # text: 0.4 diff --git a/definitions/v9/yoinked.yml b/definitions/v9/yoinked.yml index fa04700ed..0ce3afbc2 100644 --- a/definitions/v9/yoinked.yml +++ b/definitions/v9/yoinked.yml @@ -154,7 +154,12 @@ search: args: "MM/dd/yyyy HH:mm:ss zzz" size: selector: size - downloadvolumefactor: + _featured: + selector: featured + case: + False: "{{ .False }}" + True: "{{ .True }}" + downloadvolumefactor_freeleech: # api returns 0%, 25%, 50%, 75%, 100% selector: freeleech case: @@ -164,12 +169,16 @@ search: 75%: 0.25 100%: 0 # freeleech "*": 0 # catch errors - uploadvolumefactor: + downloadvolumefactor: + text: "{{ if .Result._featured }}0{{ else }}{{ .Result.downloadvolumefactor_freeleech }}{{ end }}" + uploadvolumefactor_double_upload: # api returns False, True selector: double_upload case: False: 1 # normal True: 2 # double + uploadvolumefactor: + text: "{{ if .Result._featured }}2{{ else }}{{ .Result.uploadvolumefactor_double_upload }}{{ end }}" # global MR is 0.5 but torrents must be seeded for 7 days regardless of ratio # minimumratio: # text: 0.5