mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
oldgreektracker: new selectors
This commit is contained in:
@@ -150,7 +150,7 @@ download:
|
|||||||
inputs:
|
inputs:
|
||||||
torrentid: "{{ .DownloadUri.Query.id }}"
|
torrentid: "{{ .DownloadUri.Query.id }}"
|
||||||
selectors:
|
selectors:
|
||||||
- selector: a[href*="download.php?id="]
|
- selector: a[href*="download-torrent-"]
|
||||||
attribute: href
|
attribute: href
|
||||||
|
|
||||||
search:
|
search:
|
||||||
@@ -173,28 +173,28 @@ search:
|
|||||||
order: "{{ if .Config.freeleech }}asc{{ else }}{{ .Config.type }}{{ end }}"
|
order: "{{ if .Config.freeleech }}asc{{ else }}{{ .Config.type }}{{ end }}"
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: "table.sortable tr:has(a[href*=\"/download.php?id=\"]){{ if .Config.freeleech }}:has(img[src$=\"/freedownload.gif\"]){{ else }}{{ end }}"
|
selector: "table.sortable tr:has(a[href*=\"download-torrent-\"]){{ if .Config.freeleech }}:has(img[src$=\"/freedownload.gif\"]){{ else }}{{ end }}"
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
category:
|
category:
|
||||||
selector: a[href*="/browse.php?category="]
|
selector: a[href*="torrent-category-"]
|
||||||
attribute: href
|
attribute: href
|
||||||
filters:
|
filters:
|
||||||
- name: querystring
|
- name: regexp
|
||||||
args: category
|
args: -(\d+)/
|
||||||
title_default:
|
title_default:
|
||||||
# is usually abbreaviated
|
# is usually abbreaviated
|
||||||
selector: a[href*="/details.php?id="]
|
selector: a[href*="torrent-details-"]
|
||||||
title:
|
title:
|
||||||
# while still abbreviated, is usually longer than the default
|
# while still abbreviated, is usually longer than the default
|
||||||
selector: div.tooltip-content div
|
selector: div.tooltip-content div
|
||||||
optional: true
|
optional: true
|
||||||
default: "{{ .Result.title_default }}"
|
default: "{{ .Result.title_default }}"
|
||||||
details:
|
details:
|
||||||
selector: a[href*="/details.php?id="]
|
selector: a[href*="torrent-details-"]
|
||||||
attribute: href
|
attribute: href
|
||||||
download:
|
download:
|
||||||
selector: a[href*="/details.php?id="]
|
selector: a[href*="torrent-details-"]
|
||||||
attribute: href
|
attribute: href
|
||||||
magnet:
|
magnet:
|
||||||
selector: a[href^="magnet:?xt="]
|
selector: a[href^="magnet:?xt="]
|
||||||
@@ -209,7 +209,7 @@ search:
|
|||||||
- name: regexp
|
- name: regexp
|
||||||
args: "(\\d{2}-\\d{2}-\\d{2} \\d{2}:\\d{2})"
|
args: "(\\d{2}-\\d{2}-\\d{2} \\d{2}:\\d{2})"
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "dd:MM:yy HH:mm"
|
args: "dd-MM-yy HH:mm"
|
||||||
size:
|
size:
|
||||||
selector: td:nth-last-child(5)
|
selector: td:nth-last-child(5)
|
||||||
grabs:
|
grabs:
|
||||||
|
Reference in New Issue
Block a user