From 3dc7aabb6ed8d88f63d1a5d53b1407b7029c150f Mon Sep 17 00:00:00 2001 From: kaso17 Date: Sun, 30 Oct 2016 20:13:50 +0100 Subject: [PATCH] Add UHDBits tracker (#605) --- src/Jackett/Content/logos/uhdbits.png | Bin 0 -> 2011 bytes src/Jackett/Definitions/uhdbits.yml | 117 ++++++++++++++++++++++++++ src/Jackett/Jackett.csproj | 6 ++ 3 files changed, 123 insertions(+) create mode 100644 src/Jackett/Content/logos/uhdbits.png create mode 100644 src/Jackett/Definitions/uhdbits.yml diff --git a/src/Jackett/Content/logos/uhdbits.png b/src/Jackett/Content/logos/uhdbits.png new file mode 100644 index 0000000000000000000000000000000000000000..9b58671bcb9454af744e867f112d00be97c80193 GIT binary patch literal 2011 zcmV<12PF83P)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!vFvd!vV){sAK>D2XIM5K~#8N?VIa$ z+%^zK-GW+h3vNLzqy@L&7ScjmPz!FsEw}}@pj_gPA!lzGMP*!lgaPM$B!T5>UZVg;UTUDVDPQ+<;$0t8uR({=jZ2V z{>FF@YP#kyfcx|G^h6fK7UTEh@$r$e|ML^BkE5dc-@kwVs}WNh$Pk+t?13s6Pz6ZV z5n|FZ5uVVs>HPTd0~ca$pFVvG>jJjg7MA+E5q33L%>{{Swm2i-G;?=Ul}z!uBJQ-l;# zE4+1@`w71reWzjroGmSkgEzM*Ln2u3q~-WqEw~(@kB{Ws&$lMx4}uJfG1^}^rA*F4 zWf5u3w!E-*%fc-p1Zn~Z=>?b+!N+(*F$Tk?jDWkCt)r-f7~?&t`zXUTY6)wdMi_VA zmDY%=jdlRRBYE?=$e*tUF1Rg|73bEigioNs+CJs6yDk$t|l7i zQn{xQBhiCf&F4a~HMegf9O-M@6C+pz=(cNxM>C#^!6_&jq2_xvqlXS$#Oxk=y1($+ z@E2lg4?ClIJ}8I6UpVdWV9CfsYf^xN23 z7rvsC8dQX5*-DvukcoE}L}M<*M>Kt&kWi{K%m1B$^=4wDT^)11YG80j#@r4Y%6Mc_sf8e#;*r zymbdIVrmRex^!L+%L!D)E07J}*6BOl}&#T4jS; zLM1En&%JZl=ECzv@3GaLR)oh=W6B*V-JGe|^z zqww2|a{7A*Vk*TgvC}0zH>$t;31o|bmGy*Z4L9sKoxx#cq3x)H{{;eHtj4m&AjZJ6 z+`6`W*z;7r+j?anIgm~ZZw!?ZU0|a_eoPt|_1SL`D()&k9b>jZA1L9v;tEg6lB)H{ zDp_fn=b#2lleZj*)4+hlF2b&m3*Qrmm>NUmfaSHq`{kLGafI$5$sNgwNA^$CDg2f{ zLU@wod2k_&m;oBX$%|9eiZFRGzXoSZr#wBePE3tqH8P389^_z+TA0g!`pz}j2l10w(uQ>t@V@tnFISOS4%CEkNXh$IH5KmuAnB7O~vx05K_Q32JAhZ?N7 zn+a>tRx!92_OeG&Ox*}&TaK>=DPOCfQ9+FF4x5&kBZ0=%y8=;prZvi6@0iKt-b~>q tlgVT .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" diff --git a/src/Jackett/Jackett.csproj b/src/Jackett/Jackett.csproj index 0776714bc..e5d25d1b8 100644 --- a/src/Jackett/Jackett.csproj +++ b/src/Jackett/Jackett.csproj @@ -376,9 +376,15 @@ PreserveNewest + + PreserveNewest + PreserveNewest + + PreserveNewest + Designer