Skip to content

Commit

Permalink
baibako: add freeleech #9465, date TZ and MR
Browse files Browse the repository at this point in the history
  • Loading branch information
garfield69 committed Sep 29, 2020
1 parent 41a4259 commit 2fc2c79
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions src/Jackett.Common/Definitions/baibako.yml
Expand Up @@ -29,6 +29,10 @@ settings:
type: checkbox
label: Strip Russian Letters
default: false
- name: freeleech
type: checkbox
label: Search freeleech only
default: false
- name: sort
type: select
label: Sort requested from site
Expand Down Expand Up @@ -63,8 +67,8 @@ search:
- path: browse.php
inputs:
search: "{{.Keywords }}"
# 0 active 1 incldead 2 onlydead 3 gold 4 seedfree
incldead: 1
# 0 active, 1 incldead, 2 onlydead, 3 gold, 4 seedfree
incldead: "{{ if .Config.freeleech }}3{{ else }}1{{ end }}"
sort: "{{ .Config.sort }}"
type: "{{ .Config.type }}"
keywordsfilters:
Expand All @@ -75,6 +79,8 @@ search:
selector: table > tbody > tr:has(a[href^="details.php?id="])

fields:
category:
text: 1
title:
selector: a[href^="details.php?id="]
filters:
Expand Down Expand Up @@ -105,8 +111,6 @@ search:
details:
selector: a[href^="details.php?id="]
attribute: href
category:
text: 1
banner:
selector: img[src^="/posters/"]
attribute: src
Expand Down Expand Up @@ -144,8 +148,10 @@ search:
args: ["ноября", "November"]
- name: replace
args: ["декабря", "December"]
- name: append
args: " +03:00" # MSK
- name: dateparse
args: "2 January 2006 15:04:05"
args: "2 January 2006 15:04:05 -07:00"
files:
selector: td:nth-last-child(5)
size:
Expand All @@ -167,6 +173,7 @@ search:
"a[href^=\"details.php?id=\"]:contains(\"(Золото)\")": 0
"*": 1
uploadvolumefactor:
case:
"*": 1
text: 1
minimumratio:
text: 0.3
# engine n/a

1 comment on commit 2fc2c79

@garfield69
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not 9465 but #9456

Please sign in to comment.