mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Add UHDBits tracker (#605)
This commit is contained in:
BIN
src/Jackett/Content/logos/uhdbits.png
Normal file
BIN
src/Jackett/Content/logos/uhdbits.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.0 KiB |
117
src/Jackett/Definitions/uhdbits.yml
Normal file
117
src/Jackett/Definitions/uhdbits.yml
Normal file
@@ -0,0 +1,117 @@
|
||||
---
|
||||
site: uhdbits
|
||||
name: UHDBits
|
||||
description: "A vietnamese general tracker"
|
||||
language: en-us
|
||||
links:
|
||||
- https://uhdbits.org/
|
||||
|
||||
caps:
|
||||
categories:
|
||||
1: Movies
|
||||
2: Audio
|
||||
3: TV
|
||||
4: Audio
|
||||
5: PC
|
||||
6: Other
|
||||
|
||||
modes:
|
||||
search: [q]
|
||||
tv-search: [q, season, ep]
|
||||
|
||||
login:
|
||||
path: /login.php
|
||||
form: form.auth_form
|
||||
inputs:
|
||||
username: "{{ .Config.username }}"
|
||||
password: "{{ .Config.password }}"
|
||||
keeplogged: "1"
|
||||
error:
|
||||
- selector: .auth_form > .warning
|
||||
message:
|
||||
selector: ".auth_form > .warning"
|
||||
test:
|
||||
path: /top10.php
|
||||
|
||||
ratio:
|
||||
path: /top10.php
|
||||
selector: span.r99
|
||||
|
||||
search:
|
||||
path: /torrents.php
|
||||
inputs:
|
||||
$raw: "{{range .Categories}}filter_cat[{{.}}]=1&{{end}}"
|
||||
searchstr: "{{ .Query.Keywords }}"
|
||||
tags_type: "1"
|
||||
order_by: "time"
|
||||
order_way: "desc"
|
||||
action: "advanced"
|
||||
searchsubmit: "1"
|
||||
|
||||
rows:
|
||||
selector: table#torrent_table > tbody > tr.torrent
|
||||
fields:
|
||||
description:
|
||||
selector: div.tags
|
||||
download:
|
||||
selector: a[title="Download"]
|
||||
attribute: href
|
||||
title:
|
||||
selector: div.group_info
|
||||
remove: span, div.tags
|
||||
filters:
|
||||
- name: replace
|
||||
args: [" / Free", ""]
|
||||
- name: replace
|
||||
args: [" / ViE", ""]
|
||||
- name: replace
|
||||
args: [" / User", ""]
|
||||
- name: replace
|
||||
args: [" / Exclusive!", ""]
|
||||
- name: replace
|
||||
args: [" / ↓25%", ""]
|
||||
- name: replace
|
||||
args: [" / ↓50%", ""]
|
||||
- name: replace
|
||||
args: [" / ↓75%", ""]
|
||||
- name: replace
|
||||
args: [" / 2x 50%", ""]
|
||||
- name: replace
|
||||
args: [" / 2x Free", ""]
|
||||
- name: replace
|
||||
args: [" / 2x", ""]
|
||||
downloadvolumefactor:
|
||||
case:
|
||||
"strong.blink_me:contains(\"Free\")": "0"
|
||||
"strong.blink_me:contains(\"50\")": "0.5"
|
||||
"strong.blink_me:contains(\"25\")": "0.75"
|
||||
"strong.blink_me:contains(\"75\")": "0.25"
|
||||
"*": "1"
|
||||
uploadvolumefactor:
|
||||
case:
|
||||
"strong.blink_me:contains(\"2x\")": "2"
|
||||
"*": "1"
|
||||
category:
|
||||
selector: a[href^="torrents.php?filter_cat"]
|
||||
attribute: href
|
||||
filters:
|
||||
- name: regexp
|
||||
args: "\\[(\\d+?)\\]"
|
||||
comments:
|
||||
selector: a.torrent_name
|
||||
attribute: href
|
||||
size:
|
||||
selector: td:nth-child(5)
|
||||
grabs:
|
||||
selector: td:nth-child(6)
|
||||
files:
|
||||
selector: td:nth-child(3)
|
||||
seeders:
|
||||
selector: td:nth-child(7)
|
||||
leechers:
|
||||
selector: td:nth-child(8)
|
||||
date:
|
||||
selector: td:nth-child(4)
|
||||
filters:
|
||||
- name: append
|
||||
args: " ago"
|
@@ -376,9 +376,15 @@
|
||||
<Content Include="Content\logos\bjshare.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Content\logos\uhdbits.png">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Definitions\hdme.yml">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="Definitions\uhdbits.yml">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<None Include="packages.config">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
|
Reference in New Issue
Block a user