From da102b9f554f9d36fcde268332d665cda97777f8 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Tue, 6 Aug 2019 09:02:42 +1200 Subject: [PATCH] 2fast4you: new domain. #4743 --- src/Jackett.Common/Definitions/2fast4you.yml | 25 +++++++++++++------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/src/Jackett.Common/Definitions/2fast4you.yml b/src/Jackett.Common/Definitions/2fast4you.yml index 5ebe43cc0..f0683383e 100644 --- a/src/Jackett.Common/Definitions/2fast4you.yml +++ b/src/Jackett.Common/Definitions/2fast4you.yml @@ -6,9 +6,10 @@ type: private encoding: UTF-8 links: - - https://www.2f4y.me/ + - https://2f4y.me/ legacylinks: - http://www.2f4y.me/ + - https://www.2f4y.me/ caps: categorymappings: @@ -79,6 +80,7 @@ modes: search: [q] tv-search: [q, season, ep] + movie-search: [q] login: path: account-login.php @@ -100,13 +102,24 @@ inputs: $raw: "{{range .Categories}}c{{.}}=1&{{end}}" search: "{{ .Keywords }}" - incldead: "1" + # 0 active 1 incldead 2 onlydead + incldead: 1 + # 0 all 1 notfree 2 onlyfree + freeleech: 0 + # 0 any 1 French 2 English 3 Multi 4-8 32-41 + lang: 0 keywordsfilters: - name: re_replace args: ["^$", "%"] # replace empty search string with % rows: selector: table.ttable_headinner > tbody > tr[class^="t-row"] fields: + category: + selector: a[href^="torrents.php?cat="] + attribute: href + filters: + - name: querystring + args: cat download: selector: a[href^="torrents-details.php?id="] attribute: href @@ -118,12 +131,6 @@ filters: - name: replace args: [" - (Nouveau!)", ""] - category: - selector: a[href^="torrents.php?cat="] - attribute: href - filters: - - name: querystring - args: cat details: selector: a[href^="torrents-details.php?id="] attribute: href @@ -136,6 +143,8 @@ selector: td:nth-child(6) leechers: selector: td:nth-child(7) + date: + text: now downloadvolumefactor: case: img[title="freeleech"]: "0"