Skip to content

Commit

Permalink
mnv: add onlyupload search and show posters #9718
Browse files Browse the repository at this point in the history
correct freeleech ULVF
  • Loading branch information
garfield69 committed Oct 4, 2020
1 parent 4806dc7 commit 8289764
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions src/Jackett.Common/Definitions/mnv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,16 @@ settings:
label: Password
- name: freeleech
type: checkbox
label: Search freeleech only
label: Search FreeLeech only
default: false
- name: onlyupload
type: checkbox
label: Search OnlyUpload only
default: false
- name: info_free
type: info
label: About Freeleech and OnlyUpload at MNV
default: <li>FreeLeech are torrents where neither the download or upload is counted.</li><li>OnlyUpload are torrents where download is not counted but upload is. Good for buiding your Ratio up.</li><li>Do not set both FreeLeech and OnlyUpload check boxes, there are no torrents with both these flags so you will get a no-results error.</li>
- name: sort
type: select
label: Sort requested from site
Expand Down Expand Up @@ -99,8 +107,10 @@ search:
team: 0
language: all
freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
free: "{{ if .Config.onlyupload }}1{{ else }}{{ end }}"
orderby: "{{ .Config.sort }}"
order: "{{ .Config.type }}"
# site does not support imdbid search from the browse.php page or return imdb links in results

rows:
selector: table.tableinborder > tbody > tr:has(a[href^="download.php"])
Expand All @@ -120,6 +130,12 @@ search:
download:
selector: a[href^="download.php"]
attribute: href
banner:
selector: a[href^="details.php"]
attribute: onMouseover
filters:
- name: regexp
args: "src=(.*?) width"
date:
selector: td.tablea table tbody tr:nth-child(2) td:nth-child(2) b
filters:
Expand Down Expand Up @@ -159,7 +175,9 @@ search:
img[src="pic/freeleech.gif"]: 0
"*": 1
uploadvolumefactor:
text: 1
case:
img[src="pic/freeleech.gif"]: 0
"*": 1
minimumratio:
text: 0.7
minimumseedtime:
Expand Down

1 comment on commit 8289764

@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.

Please sign in to comment.