diff --git a/src/Jackett.Common/Definitions/asiancinema.yml b/src/Jackett.Common/Definitions/asiancinema.yml index 7e19424cc..1299ebe3c 100644 --- a/src/Jackett.Common/Definitions/asiancinema.yml +++ b/src/Jackett.Common/Definitions/asiancinema.yml @@ -16,8 +16,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] settings: @@ -71,16 +71,17 @@ 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 freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}" @@ -107,8 +108,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: @@ -123,6 +128,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: @@ -144,7 +152,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: # 7 days (as seconds = 7 x 24 x 60 x 60) text: 604800 -# UNIT3D 2.2.7 +# UNIT3D 3.0.0