diff --git a/src/Jackett.Common/Definitions/legacyhd.yml b/src/Jackett.Common/Definitions/legacyhd.yml index b11f2492d..51b754939 100644 --- a/src/Jackett.Common/Definitions/legacyhd.yml +++ b/src/Jackett.Common/Definitions/legacyhd.yml @@ -22,8 +22,8 @@ caps: modes: search: [q] - tv-search: [q, season, ep, imdbid] - movie-search: [q, imdbid] + tv-search: [q, season, ep, imdbid, tvdbid] + movie-search: [q, imdbid, tmdbid] music-search: [q] book-search: [q] @@ -78,18 +78,21 @@ search: - path: torrents/filter inputs: $raw: "{{ range .Categories }}categories[]={{.}}&{{end}}" - search: "{{ if .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}" + search: "{{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}" # for dashboard imdbid search description: "" uploader: "" imdb: "{{ .Query.IMDBIDShort }}" - tvdb: "" - tmdb: "" + tvdb: "{{ .Query.TVDBID }}" + tmdb: "{{ .Query.TMDBID }}" mal: "" igdb: "" + start_year: "" + end_year: "" sorting: "{{ .Config.sort }}" - sort: "{{ .Config.sort }}" direction: "{{ .Config.type }}" qty: 100 + page: 0 + view: list freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}" rows: @@ -114,8 +117,12 @@ search: 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://via.placeholder.com/600x900", ""] + args: ["https://images.weserv.nl/?url=https://via.placeholder.com/600x900&w=180&h=270", ""] size: selector: td:nth-last-child(4) seeders: @@ -130,6 +137,9 @@ search: imdb: selector: a[href*="imdb.com/title/tt"] attribute: href + tmdbid: + selector: a[href*="themoviedb.org/movie/"] + attribute: href date: selector: time filters: @@ -185,7 +195,9 @@ search: i[class*="fa-globe text-green"]: 2 # Global Double Upload i[class*="fa-certificate text-pink"]: 2 # Featured Torrent "*": 1 + minimumratio: + text: 0.4 minimumseedtime: # 5 days (as seconds = 5 x 24 x 60 x 60) text: 432000 -# UNIT3D 2.3.0 +# UNIT3D 2.4.0