diff --git a/src/Jackett.Common/Definitions/1337x.yml b/src/Jackett.Common/Definitions/1337x.yml index bf183d434..33ae14a45 100644 --- a/src/Jackett.Common/Definitions/1337x.yml +++ b/src/Jackett.Common/Definitions/1337x.yml @@ -120,6 +120,13 @@ caps: allowrawsearch: true settings: + - name: uploader + type: text + label: Filter by Uploader + - name: info_uploader + type: info + label: About filtering by Uploader + default: "You can filter by Uploader by entering a Case Sensitive username, or leave empty to get all results.
Note: this is the username of the Uploader and not the Groupname that often show up at the end of 1337x titles, eg -GalaxyRG." - name: info_flaresolverr type: info_flaresolverr - name: downloadlink @@ -177,7 +184,7 @@ search: args: ["\\bS(20\\d{2})\\b", "$1"] rows: - selector: tr:has(a[href^="/torrent/"]) + selector: "tr:has(a[href^=\"/torrent/\"]){{ if .Config.uploader }}:has(td[class^=\"coll-5\"]:contains({{ .Config.uploader }})){{ else }}{{ end }}" fields: title_default: @@ -273,6 +280,10 @@ search: selector: td[class^="coll-2"] leechers: selector: td[class^="coll-3"] + _username: + selector: td[class^="coll-5"] + description: + text: "Uploader: {{ .Result._username }}" downloadvolumefactor: text: 0 uploadvolumefactor: diff --git a/src/Jackett.Common/Definitions/file-tracker.yml b/src/Jackett.Common/Definitions/file-tracker.yml index 2b0e19846..452229fea 100644 --- a/src/Jackett.Common/Definitions/file-tracker.yml +++ b/src/Jackett.Common/Definitions/file-tracker.yml @@ -493,6 +493,13 @@ settings: - name: password type: password label: Password + - name: uploader + type: text + label: Search by Uploader + - name: info_uploader + type: info + label: About searching by Uploader + default: "You can search by Uploader (Author) by entering an Author username, or leave empty to get all results." - name: stripcyrillic type: checkbox label: Strip Cyrillic Letters @@ -543,6 +550,7 @@ login: search: paths: - path: tracker.php + method: post inputs: $raw: "{{ if .Categories }}{{ range .Categories }}f[]={{.}}&{{end}}{{ else }}f[]=-1{{ end }}" prev_allw: 1 @@ -568,6 +576,8 @@ search: df: 1 # show author da: 1 + # author + pn: "{{ if .Config.uploader }}{{ .Config.uploader }}{{ else }}{{ end }}" # show speed ds: 0 # -1=all time @@ -577,6 +587,7 @@ search: nm: "{{ .Keywords }}" # search all words allw: 1 + submit: "%A0%A0Search%A0%A0" keywordsfilters: - name: diacritics @@ -684,6 +695,11 @@ search: "*": 1 uploadvolumefactor: text: 1 + _username: + selector: td:nth-child(5) description: selector: a.genmed, a.seedmed + filters: + - name: prepend + args: "Uploader: {{ .Result._username }}
" # TorrentPier diff --git a/src/Jackett.Common/Definitions/thepiratebay.yml b/src/Jackett.Common/Definitions/thepiratebay.yml index 2fe8750f9..8b68cebd2 100644 --- a/src/Jackett.Common/Definitions/thepiratebay.yml +++ b/src/Jackett.Common/Definitions/thepiratebay.yml @@ -133,6 +133,13 @@ caps: book-search: [q] settings: + - name: uploader + type: text + label: Filter by Uploader + - name: info_uploader + type: info + label: About filtering by Uploader + default: "You can filter by Uploader by entering a Case Sensitive username, or leave empty to get all results.
Note: this is the username of the Uploader and not the Groupname that often show up at the end of TPB titles, eg -MeGusta." - name: info_api type: info label: About this Indexer @@ -162,7 +169,7 @@ search: - name: tolower rows: - selector: $ + selector: "${{ if .Config.uploader }}:has(username:contains({{ .Config.uploader }})){{ else }}{{ end }}" count: selector: $[0].id @@ -199,6 +206,10 @@ search: selector: seeders leechers: selector: leechers + _username: + selector: username + description: + text: "Uploader: {{ .Result._username }}" downloadvolumefactor: text: 0 uploadvolumefactor: diff --git a/src/Jackett.Common/Definitions/torrentgalaxyclone.yml b/src/Jackett.Common/Definitions/torrentgalaxyclone.yml index dae2173a6..94fd7e02f 100644 --- a/src/Jackett.Common/Definitions/torrentgalaxyclone.yml +++ b/src/Jackett.Common/Definitions/torrentgalaxyclone.yml @@ -33,7 +33,14 @@ caps: music-search: [q] book-search: [q] -settings: [] +settings: + - name: uploader + type: text + label: Filter by Uploader + - name: info_uploader + type: info + label: About filtering by Uploader + default: "You can filter by Uploader by entering a Case Sensitive username, or leave empty to get all results.
Note: this is the username of the Uploader and not the Groupname that often show up at the end of TGx titles, eg RMTeam." download: selectors: @@ -48,7 +55,7 @@ search: - path: "get-posts/{{ if or .Query.IMDBID .Keywords }}keywords:{{ or .Query.IMDBID .Keywords }}{{ else }}{{ end }}{{ range .Categories }}:category:{{.}}{{end}}" rows: - selector: div.tgxtablerow + selector: "div.tgxtablerow{{ if .Config.uploader }}:has(a.username:contains({{ .Config.uploader }})){{ else }}{{ end }}" fields: category: @@ -76,6 +83,10 @@ search: remove: div.bighide filters: - name: timeago + _username: + selector: a.username + description: + text: "Uploader: {{ .Result._username }}" downloadvolumefactor: text: 0 uploadvolumefactor: