From e13dee8d53a59ed0398940fa8037e547fa99b3a5 Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Mon, 3 Jul 2023 20:25:41 +1200 Subject: [PATCH] hdchina: drop freeleech support site provides discount via javascript so we cannot detect it --- src/Jackett.Common/Definitions/hdchina.yml | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/src/Jackett.Common/Definitions/hdchina.yml b/src/Jackett.Common/Definitions/hdchina.yml index 58f17a320..de90c5277 100644 --- a/src/Jackett.Common/Definitions/hdchina.yml +++ b/src/Jackett.Common/Definitions/hdchina.yml @@ -54,10 +54,6 @@ settings: type: info label: How to get the Cookie default: "
  1. Login to this tracker with your browser
  2. Open the DevTools panel by pressing F12
  3. Select the Network tab
  4. Click on the Doc button (Chrome Browser) or HTML button (FireFox)
  5. Refresh the page by pressing F5
  6. Click on the first row entry
  7. Select the Headers tab on the Right panel
  8. Find 'cookie:' in the Request Headers section
  9. Select and Copy the whole cookie string (everything after 'cookie: ') and Paste here.
" - - name: freeleech - type: checkbox - label: Search freeleech only - default: false - name: info_tpp type: info label: Results Per Page @@ -79,7 +75,7 @@ search: # 0=incldead, 1=active, 2=dead incldead: 0 # 0=all, 1=normal, 2=free, 3=2x, 4=2x free, 5=50%, 6=2x 50%, 7=30% - spstate: "{{ if .Config.freeleech }}2{{ else }}0{{ end }}" + spstate: 0 # 0=title, 1=descr, 3=uploader, 4=imdb URL search_area: "{{ if .Query.IMDBID }}4{{ else }}0{{ end }}" # 0=AND, 1=OR, 2=Exact @@ -133,17 +129,8 @@ search: - name: append args: " ago" downloadvolumefactor: - case: - img.pro_free: 0 - img.pro_free2up: 0 - img.pro_50pctdown: 0.5 - img.pro_50pctdown2up: 0.5 - img.pro_30pctdown: 0.3 - "*": 1 + # DLVF and ULVF are dynamically presented via javascript so not available to cardigann + text: 1 uploadvolumefactor: - case: - img.pro_50pctdown2up: 2 - img.pro_free2up: 2 - img.pro_2up: 2 - "*": 1 + text: 1 # NexusPHP 4e16128 (Customised)