mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
gktorrent: fix .torrent DL
also fix title year move (single work totles would break)
This commit is contained in:
@@ -50,7 +50,7 @@
|
|||||||
label: Download link
|
label: Download link
|
||||||
default: "magnet:?xt="
|
default: "magnet:?xt="
|
||||||
options:
|
options:
|
||||||
"/get_torrents/" : ".torrent"
|
"/telecharger/" : ".torrent"
|
||||||
"magnet:?xt=": "magnet"
|
"magnet:?xt=": "magnet"
|
||||||
|
|
||||||
download:
|
download:
|
||||||
@@ -62,7 +62,7 @@
|
|||||||
- path: "{{if .Keywords}}recherche/{{.Keywords}}{{else}}{{end}}"
|
- path: "{{if .Keywords}}recherche/{{.Keywords}}{{else}}{{end}}"
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: div.listing-torrent > table > tbody > tr:has(a)
|
selector: table.table-hover > tbody > tr:has(a)
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
category:
|
category:
|
||||||
@@ -79,9 +79,9 @@
|
|||||||
site_date:
|
site_date:
|
||||||
selector: td:nth-child(1) a
|
selector: td:nth-child(1) a
|
||||||
filters:
|
filters:
|
||||||
# date is at the end of the title, so we get it and name it site_date
|
# year is at the end of the title, so we get it and name it site_date
|
||||||
- name: regexp
|
- name: regexp
|
||||||
args: "(\\w+)$"
|
args: "(\\d{4})$"
|
||||||
title:
|
title:
|
||||||
selector: td:nth-child(1) a
|
selector: td:nth-child(1) a
|
||||||
filters:
|
filters:
|
||||||
@@ -96,7 +96,7 @@
|
|||||||
args: ["VOSTFR", "{{ .Result.site_date }} VOSTFR"]
|
args: ["VOSTFR", "{{ .Result.site_date }} VOSTFR"]
|
||||||
# and we delete it at the end
|
# and we delete it at the end
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["(\\w+)$", ""]
|
args: ["(\\d{4})$", ""]
|
||||||
details:
|
details:
|
||||||
selector: td:nth-child(1) a
|
selector: td:nth-child(1) a
|
||||||
attribute: href
|
attribute: href
|
||||||
|
Reference in New Issue
Block a user