diff --git a/src/Jackett.Common/Definitions/turktorrent.yml b/src/Jackett.Common/Definitions/turktorrent.yml
index d32594569..aa3cff369 100644
--- a/src/Jackett.Common/Definitions/turktorrent.yml
+++ b/src/Jackett.Common/Definitions/turktorrent.yml
@@ -81,6 +81,10 @@ settings:
type: info
label: Layout
default: "
- Only the English Classic profile is supported.
- Make sure to set the Torrent Listing (Listeleme Biçimi) option in your profile to Classic (Klasik)
- And set the Language (Dil) to English
- Using the Modern theme will prevent results, and using Turkish will prevent upload dates.
"
+ - name: freeleech
+ type: checkbox
+ label: Filter freeleech only
+ default: false
- name: sort
type: select
label: Sort requested from site
@@ -134,7 +138,7 @@ search:
"sortOptions[sortOrder]": "{{ .Config.type }}"
rows:
- selector: table#torrents_table_classic > tbody > tr:has(td.torrent_name)
+ selector: "table#torrents_table_classic > tbody > tr:has(td.torrent_name){{ if .Config.freeleech }}:has(img[src$=\"/freedownload.gif\"]){{ else }}{{ end }}"
fields:
category:
@@ -194,11 +198,13 @@ search:
attribute: href
downloadvolumefactor:
case:
- "img[title=\"FREE!\"]": 0
- "img[title=\"Download Multiplier: 0.5\"]": 0.5
+ "img[src$=\"/freedownload.gif\"]": 0
+ "img[src$=\"/silverdownload.gif\"]": 0.5
"*": 1
uploadvolumefactor:
case:
- "img[title=\"Upload Multiplier: 2\"]": 2
+ "img[src$=\"/torrent_x2.png\"]": 2
"*": 1
+ minimumratio:
+ text: 0.5
# TSUE 2.2