Skip to content

Commit

Permalink
Merge tag 'v0.16.2207'
Browse files Browse the repository at this point in the history
  • Loading branch information
abeloin committed Nov 21, 2020
2 parents ac23189 + 2be45b6 commit a92cc8a
Show file tree
Hide file tree
Showing 81 changed files with 471 additions and 924 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht
* Byrutor
* CiliPro (LIAORENCILI)
* ConCen
* Corsaro.red
* cpasbien
* cpasbienClone
* Demonoid
Expand All @@ -73,7 +72,6 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht
* Internet Archive (archive.org)
* Isohunt2
* iTorrent
* KickAssTorrent (KATcr)
* kickasstorrents (kickass.ws)
* kickasstorrents.to
* Legit Torrents
Expand Down Expand Up @@ -144,6 +142,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht
* TorrentKitty
* TorrentMafya
* TorrentParadise
* TorrentProject
* TorrentProject2
* TorrentQuest
* Torrents.csv
Expand All @@ -156,7 +155,6 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht
* UnionDHT
* VSTHouse
* VST Torrents
* XFSUB
* xxxAdultTorrent
* xxxtor
* xxxtorrents
Expand Down
2 changes: 1 addition & 1 deletion src/Jackett.Common/Definitions/0daykiev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ search:
- name: re_replace # S01E01 to Сезон 1 Серии 1
args: ["(?i)\\bS0*(\\d+)E0*(\\d+)\\b", "езон $1 ерии $2"]
inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ .Keywords }}"
# 0 active, 1 incldead, 2 onlydead, 3 gold, 4 noseed, 5 silver
incldead: "{{ if .Config.freeleech }}3{{ else }}1{{ end }}"
Expand Down
2 changes: 1 addition & 1 deletion src/Jackett.Common/Definitions/2fast4you.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ search:
paths:
- path: torrents-search.php
inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ .Keywords }}"
# 0 active, 1 incldead, 2 onlydead
incldead: 1
Expand Down
2 changes: 1 addition & 1 deletion src/Jackett.Common/Definitions/3evils.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ search:
# https://www.3evils.net/browse.php?c16=1&c17=1&c3=1&c4=1&search=&searchin=title&incldead=0&only_free=1
- path: browse.php
inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ .Keywords }}"
# title, descr, genre, all
searchin: title
Expand Down
6 changes: 3 additions & 3 deletions src/Jackett.Common/Definitions/DasUnerwartete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ login:
search:
path: browse.php
inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ .Keywords }}"
incldead: 1

Expand Down Expand Up @@ -119,8 +119,8 @@ search:
selector: .tablea tr:nth-child(2) td:nth-child(2) b:nth-child(3) font
downloadvolumefactor:
case:
img[src="pic/oupic.gif"]: "0"
"*": "1"
img[src="pic/oupic.gif"]: 0
"*": 1
uploadvolumefactor:
text: 1
# engine tbd
2 changes: 1 addition & 1 deletion src/Jackett.Common/Definitions/acidlounge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ search:
paths:
- path: browse.php
inputs:
$raw: "{{range .Categories}}cid[]={{.}}&{{end}}"
$raw: "{{ range .Categories }}cid[]={{.}}&{{end}}"
search: "{{ .Keywords }}"
search_type: title

Expand Down
2 changes: 1 addition & 1 deletion src/Jackett.Common/Definitions/ast4u.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ search:
paths:
- path: browse.php
inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ .Keywords }}"
incldead: 0
orderby: added
Expand Down
2 changes: 1 addition & 1 deletion src/Jackett.Common/Definitions/audiobooktorrents.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ search:
paths:
- path: browse.php
inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ .Keywords }}"
# title, descr
searchin: title
Expand Down
2 changes: 1 addition & 1 deletion src/Jackett.Common/Definitions/bigtorrent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ search:
paths:
- path: browse.php
inputs:
$raw: "{{range .Categories}}filter_cat[{{.}}]=1&{{end}}"
$raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}"
search: "{{ if .Keywords }}{{ .Keywords }}{{ else }} {{ end }}"

rows:
Expand Down
2 changes: 1 addition & 1 deletion src/Jackett.Common/Definitions/btgigs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ search:
error:
- selector: a.altlink
inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ .Keywords }}"
incldead: 1
tyt: 0
Expand Down
2 changes: 1 addition & 1 deletion src/Jackett.Common/Definitions/btschool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ search:
- path: torrents.php
inputs:
$raw: "{{ range .Categories }}cat{{.}}=1&{{end}}"
search: "{{if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
# 0 incldead, 1 active, 2 justdead
incldead: 0
# promotion: 0 all, 1 normal, 2 free, 3 2x, 4 2xfree, 5 50%, 6 2x 50%, 7 30%
Expand Down
3 changes: 2 additions & 1 deletion src/Jackett.Common/Definitions/btsow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ language: en-us
type: public
encoding: UTF-8
links:
- https://btsow.work/
- https://btsow.store/
legacylinks:
- https://btos.pw/
- https://btio.pw/
Expand All @@ -20,6 +20,7 @@ legacylinks:
- https://btsow.casa/
- https://btsow.website/
- https://btsow.online/
- https://btsow.work/

caps:
categories:
Expand Down
2 changes: 1 addition & 1 deletion src/Jackett.Common/Definitions/cinematik.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ search:
paths:
- path: browse.php
inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ .Query.Keywords }}"
incldead: "{{ .Config.incldead }}"
srchdtls: "{{ if .Config.srchdtls }}1{{ else }}0{{ end }}"
Expand Down
2 changes: 1 addition & 1 deletion src/Jackett.Common/Definitions/classix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ search:
paths:
- path: torrents-search.php
inputs:
$raw: "{{range .Categories}}filter_cat[{{.}}]=1&{{end}}"
$raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}"
search: "{{ if .Keywords }}\"{{ .Keywords }}\"{{ else }}{{ end }}"

rows:
Expand Down
1 change: 1 addition & 0 deletions src/Jackett.Common/Definitions/demonoid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ links:
- https://www.dnoid.to/
- https://www.dnoid.pw/
- https://demonoid.unblockit.app/
- https://demonoid.torrentbay.to/
legacylinks:
- https://demonoid.unblockit.pro/
- https://demonoid.unblockit.one/
Expand Down
2 changes: 1 addition & 1 deletion src/Jackett.Common/Definitions/diablotorrent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ search:
paths:
- path: browse
inputs:
$raw: "{{range .Categories}}category[]={{.}}&{{end}}"
$raw: "{{ range .Categories }}category[]={{.}}&{{end}}"
search: "{{ .Keywords }}"
s_alapjan: 7
s_sorrend: desc
Expand Down
2 changes: 1 addition & 1 deletion src/Jackett.Common/Definitions/ebooks-shares.yml
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ search:
paths:
- path: torrents-search.php
inputs:
$raw: "{{range .Categories}}filter_cat[{{.}}]=1&{{end}}"
$raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}"
search: "{{ if .Keywords }}\"{{ .Keywords }}\"{{ else }}{{ end }}"
# 0 only active 1 incl dead 2 only dead
incldead: 0
Expand Down
2 changes: 1 addition & 1 deletion src/Jackett.Common/Definitions/empornium.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ search:
paths:
- path: torrents.php
inputs:
$raw: "{{range .Categories}}filter_cat[{{.}}]=1&{{end}}"
$raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}"
searchtext: ""
title: "{{ .Keywords }}"
order_by: time
Expand Down
2 changes: 1 addition & 1 deletion src/Jackett.Common/Definitions/empornium2fa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ search:
paths:
- path: torrents.php
inputs:
$raw: "{{range .Categories}}filter_cat[{{.}}]=1&{{end}}"
$raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}"
searchtext: ""
title: "{{ .Keywords }}"
order_by: time
Expand Down
2 changes: 1 addition & 1 deletion src/Jackett.Common/Definitions/ethor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ search:
- name: re_replace
args: ["(?i)[\\.\\s\\[\\-]VFQ[\\.\\s\\]\\-]", ".{{ .Config.multilanguage }}."]
title:
text: "{{if .Config.multilang }}{{ .Result._title_multilang }}{{ else }}{{ .Result._title_normalized }}{{ end }}"
text: "{{ if .Config.multilang }}{{ .Result._title_multilang }}{{ else }}{{ .Result._title_normalized }}{{ end }}"
category:
selector: a[href^="/browse.php?cat="]
attribute: href
Expand Down
6 changes: 5 additions & 1 deletion src/Jackett.Common/Definitions/exttorrents.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ encoding: UTF-8
links:
- https://ext.to/
- https://torrent.extto.com/
- https://ext.torrentbay.to/
legacylinks:
- https://ext.unblockninja.com/ # currently redirects to https://ext.to/
- https://ext.unblockninja.com/ # currently redirects to https://ext.torrentbay.to/
- https://t.extto.com/ # redirects to https://torrent.extto.com/

caps:
Expand Down Expand Up @@ -84,6 +85,9 @@ download:
search:
paths:
- path: "{{ if .Keywords }}search/?q={{ .Keywords }}&{{ else }}latest/?{{ end }}order={{ .Config.sort }}&sort={{ .Config.type }}"
- path: "{{ if .Keywords }}search/?q={{ .Keywords }}/2/&{{ else }}latest/2/?{{ end }}order={{ .Config.sort }}&sort={{ .Config.type }}"
- path: "{{ if .Keywords }}search/?q={{ .Keywords }}/3/&{{ else }}latest/3/?{{ end }}order={{ .Config.sort }}&sort={{ .Config.type }}"
- path: "{{ if .Keywords }}search/?q={{ .Keywords }}/4/&{{ else }}latest/4/?{{ end }}order={{ .Config.sort }}&sort={{ .Config.type }}"

rows:
selector: table.table-striped > tbody > tr
Expand Down
2 changes: 1 addition & 1 deletion src/Jackett.Common/Definitions/femdomcult.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ search:
paths:
- path: torrents.php
inputs:
$raw: "{{range .Categories}}filter_cat[{{.}}]=1&{{end}}"
$raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}"
title: "{{ .Keywords }}"
order_by: "{{ .Config.sort }}"
order_way: "{{ .Config.type }}"
Expand Down
2 changes: 1 addition & 1 deletion src/Jackett.Common/Definitions/funkytorrents.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ search:
paths:
- path: browse.php
inputs:
# $raw: "{{range .Categories}}c{{.}}=1&{{end}}"
# $raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ if .Query.Artist }}{{ .Query.Artist }}{{ else }}{{ .Keywords }}{{ end }}"
incldead: 1

Expand Down
4 changes: 2 additions & 2 deletions src/Jackett.Common/Definitions/gay-torrents.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ login:

search:
paths:
- path: "{{if .Query.Keywords}}search.php{{ else }}torrentslist.php{{ end }}"
- path: "{{ if .Keywords }}search.php{{ else }}torrentslist.php{{ end }}"
inputs:
$raw: "{{range .Categories}}type={{.}}&{{end}}"
$raw: "{{ range .Categories }}type={{.}}&{{end}}"
textsearch: "{{ .Keywords }}"
keywordsfilters:
- name: re_replace
Expand Down
2 changes: 1 addition & 1 deletion src/Jackett.Common/Definitions/gay-torrentsorg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ search:
- path: torrents_beta.php
method: get
inputs:
$raw: "{{range .Categories}}category[]={{.}}&{{end}}"
$raw: "{{ range .Categories }}category[]={{.}}&{{end}}"
search: "{{ .Keywords }}"
# 0 both, 1 active, 2 dead
active: 0
Expand Down
2 changes: 1 addition & 1 deletion src/Jackett.Common/Definitions/gaytorrentru.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ search:
paths:
- path: browse.php
inputs:
$raw: "{{range .Categories}}c{{.}}=1&{{end}}"
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ .Keywords }}"
# 0 active, 1 both, 2 dead
incldead: 1
Expand Down
2 changes: 1 addition & 1 deletion src/Jackett.Common/Definitions/gfxpeers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ search:
paths:
- path: torrents.php
inputs:
$raw: "{{range .Categories}}filter_cat[{{.}}]=1&{{end}}"
$raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}"
searchstr: "{{ .Keywords }}"
order_by: time
order_way: desc
Expand Down
15 changes: 8 additions & 7 deletions src/Jackett.Common/Definitions/greekdiamond.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,29 +144,30 @@ search:
filters:
- name: regexp
args: "src=(.*?) "
date: # some users will have a extra wait time column before the bookmark column, so use last-of-type
selector: td:nth-last-of-type(11)
# some users will have an extra wait time column before the bookmark column, so we count up from the bottom
date:
selector: td:nth-last-of-type(12)
filters:
- name: append
args: " +00:00" # auto adjusted by site account profile
- name: dateparse
args: "02/01/2006 -07:00"
seeders:
selector: td:nth-last-of-type(9)
selector: td:nth-last-of-type(10)
leechers:
selector: td:nth-last-of-type(8)
selector: td:nth-last-of-type(9)
grabs:
selector: td:nth-last-of-type(7)
selector: td:nth-last-of-type(8)
filters:
- name: replace
args: ["---", "0"]
size:
selector: td:nth-last-of-type(5)
selector: td:nth-last-of-type(6)
filters:
- name: replace
args: [",", ""]
description:
selector: td:nth-last-of-type(3) img
selector: td:nth-last-of-type(4) img
attribute: title
filters:
- name: prepend
Expand Down
2 changes: 1 addition & 1 deletion src/Jackett.Common/Definitions/hachede.yml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ search:
p: torrents
page: 1
pid: 10
$raw: "{{range .Categories}}&cid[]={{.}}{{end}}"
$raw: "{{ range .Categories }}&cid[]={{.}}{{end}}"
keywords: "{{ .Keywords }}"
# name description both uploader
search_type: name
Expand Down
4 changes: 2 additions & 2 deletions src/Jackett.Common/Definitions/haidan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ search:
# supports search using imdbid, does not return imdb links in results

rows:
selector: div.torrent_panel > div.torrent_group > div.group_content
selector: div.group_content

fields:
category:
Expand Down Expand Up @@ -137,7 +137,7 @@ search:
attribute: data-src
date:
# time type: time elapsed (default)
selector: div.time_col > span[title]
selector: div.time_col span[title]
attribute: title
optional: true
filters:
Expand Down
18 changes: 10 additions & 8 deletions src/Jackett.Common/Definitions/hdbits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,12 @@ search:
paths:
- path: browse.php
inputs:
$raw: "{{range .Categories}}filter_cat[{{.}}]=1&{{end}}"
search: "{{ .Query.Keywords }}"
$raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}"
search: "{{ .Keywords }}"

rows:
selector: table#torrent-list > tbody > tr:has(a[href^="/details.php?id="])

fields:
category:
selector: a[href^="?cat="]
Expand Down Expand Up @@ -75,10 +77,10 @@ search:
args: " ago"
downloadvolumefactor:
case:
"a[title=\"25% Free Leech: only 75% of the download is counted.\"]": "0.25"
"a[title=\"50% Free Leech: only half the download is counted.\"]": "0.5"
"a[title=\"100% FL: no download is counted.\"]": "0"
"*": "1"
"a[title=\"25% Free Leech: only 75% of the download is counted.\"]": 0.25
"a[title=\"50% Free Leech: only half the download is counted.\"]": 0.5
"a[title=\"100% FL: no download is counted.\"]": 0
"*": 1
uploadvolumefactor:
case:
"*": "1"
text: 1
# engine tbd
Loading

0 comments on commit a92cc8a

Please sign in to comment.