mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-12 15:04:13 +02:00
Compare commits
32 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
5ca84bd064 | ||
![]() |
c9f74ad4f9 | ||
![]() |
93ad748719 | ||
![]() |
7d0267fe61 | ||
![]() |
b626e6dbaa | ||
![]() |
91c70c88ec | ||
![]() |
2ee6104c46 | ||
![]() |
e7dcdf4001 | ||
![]() |
1a40830123 | ||
![]() |
577b8361e5 | ||
![]() |
4694f9fed7 | ||
![]() |
abbfeea7f0 | ||
![]() |
eba319c4d8 | ||
![]() |
ee06a72ef2 | ||
![]() |
27e902025d | ||
![]() |
dbbfde938b | ||
![]() |
da9a221c3d | ||
![]() |
e15ce4de4a | ||
![]() |
02ac98beaa | ||
![]() |
de3c93d429 | ||
![]() |
f74f1ab816 | ||
![]() |
44b43e458e | ||
![]() |
bae83f34f0 | ||
![]() |
1b3821c40a | ||
![]() |
22d0bfa0b0 | ||
![]() |
67da517e13 | ||
![]() |
290456ea03 | ||
![]() |
9a974ccd5a | ||
![]() |
253164c7b9 | ||
![]() |
114e4d86a2 | ||
![]() |
0549daaa36 | ||
![]() |
0c2c2c1ef8 |
@@ -199,4 +199,4 @@ search:
|
||||
minimumseedtime:
|
||||
# 3 days (as seconds = 3 x 24 x 60 x 60)
|
||||
text: 259200
|
||||
# UNIT3D 5.1.0
|
||||
# UNIT3D 5.2.0
|
||||
|
@@ -86,6 +86,9 @@ search:
|
||||
|
||||
fields:
|
||||
category:
|
||||
text: 54
|
||||
category|noappend:
|
||||
optional: true
|
||||
selector: a[href*="category="]
|
||||
attribute: href
|
||||
case:
|
||||
@@ -130,6 +133,9 @@ search:
|
||||
leechers:
|
||||
text: 1
|
||||
size:
|
||||
text: "0 B"
|
||||
size:
|
||||
optional: true
|
||||
selector: b.file_size
|
||||
downloadvolumefactor:
|
||||
text: 0
|
||||
|
@@ -123,13 +123,7 @@ search:
|
||||
size:
|
||||
selector: td:nth-child(6) > u
|
||||
downloadvolumefactor:
|
||||
text: 1
|
||||
downloadvolumefactor:
|
||||
optional: true
|
||||
selector: td:nth-child(6) > nobr > font:contains(" × ")
|
||||
filters:
|
||||
- name: replace
|
||||
args: ["×", ""]
|
||||
text: 0
|
||||
uploadvolumefactor:
|
||||
text: 1
|
||||
uploadvolumefactor:
|
||||
|
@@ -7,6 +7,9 @@ type: public
|
||||
encoding: UTF-8
|
||||
links:
|
||||
- https://btdig.com/
|
||||
- https://btdiggwzoyrwwbiv.onion.ly/
|
||||
- https://btdigggink2pdqzqrik3blmqemsbntpzwxottujilcdjfz56jumzfsyd.onion.ly/
|
||||
legacylinks:
|
||||
- http://btdiggwzoyrwwbiv.onion.ly/
|
||||
|
||||
caps:
|
||||
@@ -40,7 +43,7 @@ search:
|
||||
paths:
|
||||
- path: search
|
||||
inputs:
|
||||
q: "{{ if .Keywords }}{{ .Keywords }}{{ else }}test{{ end }}"
|
||||
q: "{{ if .Keywords }}{{ .Keywords }}{{ else }}{{ .Today.Year }}{{ end }}"
|
||||
# 0 relevance 2 age 3 size 4 files
|
||||
order: "{{ .Config.sort }}"
|
||||
|
||||
|
@@ -56,21 +56,21 @@ search:
|
||||
files:
|
||||
selector: td:nth-child(4)
|
||||
date:
|
||||
selector: td:nth-child(6)
|
||||
selector: td:nth-child(5)
|
||||
filters:
|
||||
- name: dateparse
|
||||
args: "01/02 15:04"
|
||||
size:
|
||||
selector: td:nth-child(7)
|
||||
selector: td:nth-child(6)
|
||||
grabs:
|
||||
selector: td:nth-child(8)
|
||||
selector: td:nth-child(7)
|
||||
filters:
|
||||
- name: regexp
|
||||
args: (\d+)
|
||||
seeders:
|
||||
selector: td:nth-child(9)
|
||||
selector: td:nth-child(8)
|
||||
leechers:
|
||||
selector: td:nth-child(10)
|
||||
selector: td:nth-child(9)
|
||||
downloadvolumefactor:
|
||||
text: 0
|
||||
uploadvolumefactor:
|
||||
|
@@ -150,7 +150,7 @@ search:
|
||||
args: ["hete", "week"]
|
||||
- name: timeago
|
||||
downloadvolumefactor:
|
||||
text: 1
|
||||
text: 0
|
||||
uploadvolumefactor:
|
||||
case:
|
||||
img[src="pic/double.png"]: 2
|
||||
|
@@ -13,6 +13,10 @@ legacylinks:
|
||||
caps:
|
||||
categorymappings:
|
||||
# Movies
|
||||
- {id: 62, cat: Movies/3D, desc: "Movies 3D"}
|
||||
- {id: 96, cat: Movies/UHD, desc: "Movies 4k Hindi"}
|
||||
- {id: 94, cat: Movies/UHD, desc: "Movies 4k"}
|
||||
- {id: 64, cat: Movies, desc: "Movies Animated"}
|
||||
- {id: 16, cat: Movies/BluRay, desc: "Movies English Bluray"}
|
||||
- {id: 11, cat: Movies/DVD, desc: "Movies English DVD-RIP"}
|
||||
- {id: 14, cat: Movies, desc: "Movies English CAM"}
|
||||
@@ -25,12 +29,9 @@ caps:
|
||||
- {id: 65, cat: Movies/WEB-DL, desc: "Movies Hindi Webrip/HDrip"}
|
||||
- {id: 24, cat: Movies, desc: "Movies UNRATED"}
|
||||
- {id: 53, cat: Movies/Foreign, desc: "Movies Other Foreign"}
|
||||
- {id: 64, cat: Movies, desc: "Movies Animated"}
|
||||
- {id: 45, cat: Movies, desc: "Movies Trailers"}
|
||||
- {id: 93, cat: Movies, desc: "Movies Dual Movies"}
|
||||
- {id: 59, cat: Movies, desc: "Movies Pack"}
|
||||
- {id: 94, cat: Movies/UHD, desc: "Movies 4k"}
|
||||
- {id: 62, cat: Movies/3D, desc: "Movies 3D"}
|
||||
# TV
|
||||
- {id: 34, cat: TV, desc: "TV English Series"}
|
||||
- {id: 57, cat: TV, desc: "TV Bangla series"}
|
||||
@@ -46,7 +47,7 @@ caps:
|
||||
- {id: 61, cat: PC/Games, desc: "Games trailer"}
|
||||
- {id: 90, cat: Console/PS4, desc: "Games Ps4"}
|
||||
- {id: 86, cat: Console/PS3, desc: "Games xbox / ps3"}
|
||||
- {id: 92, cat: PC/Games, desc: "Games nrated"}
|
||||
- {id: 92, cat: PC/Games, desc: "Games unrated"}
|
||||
# Software
|
||||
- {id: 7, cat: PC/0day, desc: "Software Windows"}
|
||||
- {id: 20, cat: PC/Mobile-Android, desc: "Software Android Apps"}
|
||||
|
@@ -33,6 +33,7 @@ caps:
|
||||
- {id: 65, cat: Movies, desc: "Films FSCR"}
|
||||
- {id: 66, cat: Movies, desc: "Films CamTS"}
|
||||
- {id: 67, cat: Movies, desc: "Films Pack Films"}
|
||||
- {id: 129, cat: Movies, desc: "Films QC~Film"}
|
||||
- {id: 68, cat: Movies, desc: "Films VostFR"}
|
||||
- {id: 69, cat: Movies, desc: "Films VO"}
|
||||
- {id: 70, cat: Movies/WEB-DL, desc: "Films WebRip 1080p"}
|
||||
@@ -71,6 +72,7 @@ caps:
|
||||
- {id: 107, cat: Audio/MP3, desc: "Musiques MP3"}
|
||||
- {id: 108, cat: Audio/Lossless, desc: "Musiques FLAC"}
|
||||
- {id: 109, cat: Audio, desc: "Musiques WMA"}
|
||||
- {id: 132, cat: Audio, desc: "Musiques QC~Musique"}
|
||||
# Séries
|
||||
- {id: 76, cat: TV/HD, desc: "Series Blu-Ray"}
|
||||
- {id: 77, cat: TV/HD, desc: "Series HDTV"}
|
||||
@@ -88,10 +90,13 @@ caps:
|
||||
- {id: 97, cat: TV/Anime, desc: "Series Animée"}
|
||||
- {id: 88, cat: TV, desc: "Series Pack HD"}
|
||||
- {id: 128, cat: TV, desc: "Series Pack SD"}
|
||||
- {id: 130, cat: TV, desc: "SeriesQC~Serie"}
|
||||
# Spéctacle
|
||||
- {id: 131, cat: TV, desc: "SeriesQC~Spectacle"}
|
||||
- {id: 91, cat: TV/Other, desc: "Spectacle 720p"}
|
||||
- {id: 90, cat: TV/Other, desc: "Spectacle 1080p"}
|
||||
# Télévision
|
||||
- {id: 133, cat: TV, desc: "TV QC~Tv"}
|
||||
- {id: 74, cat: TV/HD, desc: "TV TVHD"}
|
||||
- {id: 75, cat: TV, desc: "TV TVRip"}
|
||||
- {id: 92, cat: TV/Other, desc: "TV Spectacles"}
|
||||
|
@@ -36,16 +36,18 @@ caps:
|
||||
- {id: 50, cat: Books/EBook, desc: "E-Books: Manuel Français"}
|
||||
- {id: 66, cat: Movies, desc: "Films: VOSTFR"}
|
||||
- {id: 65, cat: Movies, desc: "Films: VO"}
|
||||
- {id: 55, cat: Movies/HD, desc: "Films: MHD x265"}
|
||||
- {id: 54, cat: Movies/HD, desc: "Films: MHD HDlight"}
|
||||
- {id: 55, cat: Movies/HD, desc: "Films: MHD x265"}
|
||||
- {id: 69, cat: Movies/3D, desc: "Films: 3D"}
|
||||
- {id: 110, cat: Movies/WEB-DL, desc: "Films: WEB"}
|
||||
- {id: 2, cat: Movies/HD, desc: "Films: HD"}
|
||||
- {id: 59, cat: Movies, desc: "Films: Spectacle"}
|
||||
- {id: 110, cat: Movies/WEB-DL, desc: "Films: WEB"}
|
||||
- {id: 154, cat: Movies/UHD, desc: "Films: AV1-2160p"}
|
||||
- {id: 89, cat: Movies/SD, desc: "Films: SD"}
|
||||
- {id: 153, cat: Movies/HD, desc: "Films: AV1-1080p"}
|
||||
- {id: 59, cat: Movies, desc: "Films: Spectacle"}
|
||||
- {id: 70, cat: Movies/HD, desc: "Films: X265"}
|
||||
- {id: 92, cat: Movies/UHD, desc: "Films: 4K"}
|
||||
- {id: 135, cat: Movies, desc: "Films: Noel"}
|
||||
- {id: 155, cat: Movies/UHD, desc: "films: 4K X265"}
|
||||
- {id: 87, cat: XXX, desc: "Films: XXX"}
|
||||
- {id: 4, cat: Movies, desc: "Films: ISO"}
|
||||
- {id: 151, cat: TV, desc: "Films: .Série animation"}
|
||||
@@ -55,8 +57,8 @@ caps:
|
||||
- {id: 97, cat: Audio, desc: "Musique: Podcast"}
|
||||
- {id: 137, cat: Audio, desc: "Musique: Noel"}
|
||||
- {id: 25, cat: Audio/MP3, desc: "Musique: Single MP3"}
|
||||
- {id: 143, cat: Audio/MP3, desc: "Musique: Wav"}
|
||||
- {id: 22, cat: Audio/MP3, desc: "Musique: Album MP3"}
|
||||
- {id: 143, cat: Audio/MP3, desc: "Musique: Wav"}
|
||||
- {id: 98, cat: Audio, desc: "Musique: karaoké"}
|
||||
- {id: 58, cat: Audio, desc: "Musique: Concert"}
|
||||
- {id: 24, cat: Audio/Lossless, desc: "Musique: Single Flac"}
|
||||
@@ -64,8 +66,8 @@ caps:
|
||||
- {id: 64, cat: Audio, desc: "Musique: Mégamix Maison"}
|
||||
- {id: 6, cat: TV, desc: "Serie TV: Saison FR"}
|
||||
- {id: 7, cat: TV, desc: "Serie TV: Episode FR"}
|
||||
- {id: 153, cat: TV, desc: "Serie TV: Saison VO"}
|
||||
- {id: 63, cat: TV, desc: "Serie TV: Episode VO"}
|
||||
- {id: 63, cat: TV, desc: "Serie TV: Saison VO"}
|
||||
- {id: 152, cat: TV, desc: "Serie TV: Episode VO"}
|
||||
- {id: 93, cat: TV, desc: "Serie TV: Saison VOSTFR"}
|
||||
- {id: 61, cat: TV, desc: "Serie TV: Episode VOSTFR"}
|
||||
- {id: 12, cat: TV, desc: "Serie TV: Animation"}
|
||||
|
@@ -6,12 +6,12 @@ language: it-it
|
||||
type: semi-private
|
||||
encoding: UTF-8
|
||||
links:
|
||||
- https://ilcorsaroblu.online/
|
||||
- https://ilcorsaroblu.org/
|
||||
legacylinks:
|
||||
- http://ilcorsaroblu.org/
|
||||
- https://www.ilcorsaroblu.info/
|
||||
- https://www.ilcorsaroblu.org/
|
||||
- https://ilcorsaroblu.org/
|
||||
- https://ilcorsaroblu.online/
|
||||
|
||||
caps:
|
||||
categorymappings:
|
||||
|
@@ -42,12 +42,12 @@ settings:
|
||||
- name: sort
|
||||
type: select
|
||||
label: Sort requested from site
|
||||
default: 4
|
||||
default: added
|
||||
options:
|
||||
4: created
|
||||
7: seeders
|
||||
5: size
|
||||
1: title
|
||||
added: created
|
||||
seeders: seeders
|
||||
size: size
|
||||
name: title
|
||||
- name: type
|
||||
type: select
|
||||
label: Order requested from site
|
||||
@@ -72,19 +72,13 @@ search:
|
||||
- path: torrents.php
|
||||
inputs:
|
||||
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}"
|
||||
# 0 incldead, 1 active, 2 dead
|
||||
incldead: 0
|
||||
# 0 all, 1 normal, 2 free, 3 2x, 4 2xfree, 5 50%, 6 2x50%, 7 30%
|
||||
spstate: "{{ if .Config.freeleech }}2{{ else }}0{{ end }}"
|
||||
# 0 title, 1 descr, 3 uploader, 4 imdburl
|
||||
search_area: "{{ if .Query.IMDBID }}4{{ else }}0{{ end }}"
|
||||
# 0 AND, 1 OR, 2 exact
|
||||
search_mode: 0
|
||||
sort: "{{ .Config.sort }}"
|
||||
type: "{{ .Config.type }}"
|
||||
search_area: "{{ if .Query.IMDBID }}imdb{{ else }}name{{ end }}"
|
||||
suggest: 0
|
||||
column: "{{ .Config.sort }}"
|
||||
sort: "{{ .Config.type }}"
|
||||
|
||||
rows:
|
||||
selector: table.torrents > tbody > tr:has(table.torrentname)
|
||||
selector: table.torrents > tbody > tr:has(a[href^="download.php?"])
|
||||
|
||||
fields:
|
||||
category:
|
||||
@@ -152,4 +146,4 @@ search:
|
||||
description:
|
||||
selector: td:nth-child(2)
|
||||
remove: a, img
|
||||
# NexusPHP Standard v1.5 Beta 4
|
||||
# NexusPHP Standard v1.5 Beta 4 (customised)
|
||||
|
@@ -15,6 +15,7 @@ caps:
|
||||
- {id: 15, cat: Movies/HD, desc: "Rip H264"}
|
||||
- {id: 16, cat: Movies/HD, desc: "Rip H265"}
|
||||
- {id: 24, cat: Movies/UHD, desc: "Rip 4K"}
|
||||
- {id: 40, cat: Movies/UHD, desc: "4K - 3840X2160"}
|
||||
- {id: 21, cat: Movies/HD, desc: "Full HD"}
|
||||
- {id: 31, cat: TV/HD, desc: "Serie TV 720P"}
|
||||
- {id: 25, cat: Audio, desc: "Musica"}
|
||||
|
@@ -54,6 +54,7 @@ caps:
|
||||
- {id: 48, cat: Other, desc: "Retro"}
|
||||
- {id: 72, cat: Other, desc: "Board Games"}
|
||||
- {id: 75, cat: Other, desc: "Paper Crafting"}
|
||||
- {id: 77, cat: Other, desc: "Arcade"}
|
||||
|
||||
modes:
|
||||
search: [q]
|
||||
|
@@ -107,12 +107,12 @@ search:
|
||||
- name: regexp
|
||||
args: "/categories/(\\d+)"
|
||||
title:
|
||||
selector: a.view-torrent
|
||||
selector: a.text-bright
|
||||
download:
|
||||
selector: a[href*="/download/"]
|
||||
attribute: href
|
||||
details:
|
||||
selector: a.view-torrent
|
||||
selector: a.text-bright
|
||||
attribute: href
|
||||
poster:
|
||||
selector: div.torrent-poster img
|
||||
@@ -133,12 +133,6 @@ search:
|
||||
filters:
|
||||
- name: regexp
|
||||
args: (\d+)
|
||||
imdb:
|
||||
selector: a[href*="imdb.com/title/tt"]
|
||||
attribute: href
|
||||
tmdbid:
|
||||
selector: a[href*="themoviedb.org/movie/"]
|
||||
attribute: href
|
||||
date:
|
||||
selector: time
|
||||
filters:
|
||||
|
@@ -30,6 +30,8 @@ caps:
|
||||
- {id: 18, cat: TV/Sport, desc: "WWE Network"}
|
||||
- {id: 16, cat: TV/Sport, desc: "WWE PPV's"}
|
||||
- {id: 17, cat: TV/Sport, desc: "WWE Weekly"}
|
||||
- {id: 19, cat: TV/Sport, desc: "AEW Weekly"}
|
||||
- {id: 20, cat: TV/Sport, desc: "AEW PPV's"}
|
||||
|
||||
modes:
|
||||
search: [q]
|
||||
|
@@ -231,6 +231,9 @@ search:
|
||||
attribute: href
|
||||
size:
|
||||
selector: div.data-size
|
||||
filters:
|
||||
- name: re_replace
|
||||
args: ["(\\d)\\.(\\d{3}\\.\\d{2})", "$1$2"]
|
||||
seeders:
|
||||
selector: div.data-seeders
|
||||
filters:
|
||||
|
@@ -29,6 +29,7 @@ caps:
|
||||
- {id: 30, cat: Audio/MP3, desc: "Musik mp3"}
|
||||
- {id: 31, cat: Audio/Lossless, desc: "Musik Flac"}
|
||||
- {id: 32, cat: Audio/Video, desc: "Musik Video"}
|
||||
- {id: 45, cat: Audio, desc: "Musik Pack"}
|
||||
- {id: 34, cat: PC/Games, desc: "Spiele Windows"}
|
||||
- {id: 35, cat: Console, desc: "Spiele Konsole"}
|
||||
- {id: 36, cat: Console, desc: "Spiele Wimmel"}
|
||||
|
@@ -14,7 +14,7 @@ legacylinks:
|
||||
|
||||
caps:
|
||||
categorymappings:
|
||||
- {id: 1, cat: Movies, desc: "Movies"}
|
||||
- {id: 1, cat: Movies, desc: "Movie"}
|
||||
- {id: 2, cat: TV, desc: "TV"}
|
||||
- {id: 3, cat: Audio, desc: "Music"}
|
||||
- {id: 4, cat: Movies, desc: "Web Originals"}
|
||||
@@ -76,24 +76,24 @@ login:
|
||||
|
||||
search:
|
||||
paths:
|
||||
- path: torrents/filter
|
||||
- path: torrents
|
||||
inputs:
|
||||
$raw: "{{ range .Categories }}categories[]={{.}}&{{end}}"
|
||||
search: "{{ if .Query.IMDBID }}{{ else }}{{ .Keywords }}{{ end }}" # for dashboard imdbid search
|
||||
description: ""
|
||||
mediainfo: ""
|
||||
keywords: ""
|
||||
uploader: ""
|
||||
imdb: "{{ .Query.IMDBIDShort }}"
|
||||
tvdb: "{{ .Query.TVDBID }}"
|
||||
tmdb: "{{ .Query.TMDBID }}"
|
||||
mal: ""
|
||||
igdb: ""
|
||||
start_year: ""
|
||||
end_year: ""
|
||||
sorting: "{{ .Config.sort }}"
|
||||
direction: "{{ .Config.type }}"
|
||||
qty: 100
|
||||
page: 0
|
||||
view: list
|
||||
tmdbId: "{{ .Query.TMDBID }}"
|
||||
imdbId: "{{ .Query.IMDBIDShort }}"
|
||||
tvdbId: "{{ .Query.TVDBID }}"
|
||||
malId: ""
|
||||
startYear: ""
|
||||
endYear: ""
|
||||
sortField: "{{ .Config.sort }}"
|
||||
sortDirection: "{{ .Config.type }}"
|
||||
perPage: 100
|
||||
page: 1
|
||||
freeleech: "{{ if .Config.freeleech }}1{{ else }}{{ end }}"
|
||||
|
||||
rows:
|
||||
@@ -119,28 +119,17 @@ search:
|
||||
attribute: src
|
||||
filters:
|
||||
- name: replace
|
||||
args: ["&w=52&h=80", "&w=180&h=270"] # for display on dashboard
|
||||
- name: replace
|
||||
args: ["https://images.weserv.nl/?url=https://via.placeholder.com/600x900&w=180&h=270", ""]
|
||||
args: ["https://via.placeholder.com/90x135", ""]
|
||||
size:
|
||||
selector: td:nth-last-child(4)
|
||||
selector: td:nth-last-child(5)
|
||||
seeders:
|
||||
selector: td:nth-last-child(3)
|
||||
selector: td:nth-last-child(4)
|
||||
leechers:
|
||||
selector: td:nth-last-child(2)
|
||||
selector: td:nth-last-child(3)
|
||||
grabs:
|
||||
selector: td:nth-last-child(1)
|
||||
filters:
|
||||
- name: regexp
|
||||
args: (\d+)
|
||||
imdb:
|
||||
selector: a[href*="imdb.com/title/tt"]
|
||||
attribute: href
|
||||
tmdbid:
|
||||
selector: a[href*="themoviedb.org/movie/"]
|
||||
attribute: href
|
||||
selector: td:nth-last-child(2)
|
||||
date:
|
||||
selector: time
|
||||
selector: td:nth-last-child(1)
|
||||
filters:
|
||||
# translations for Turkish|Estonian|Danish|Italian|Polish|Norwegian|Portuguese|Czech|Russian|Romanian|Spanish|French|German|Bulgarian|Dutch|Chinese|Japanese|Swedish
|
||||
- name: re_replace
|
||||
@@ -194,9 +183,10 @@ search:
|
||||
i[class*="fa-globe text-green"]: 2 # Global Double Upload
|
||||
i[class*="fa-certificate text-pink"]: 2 # Featured Torrent
|
||||
"*": 1
|
||||
minimumratio:
|
||||
text: 1.0
|
||||
# global MR is 0.4 but torrents must be seeded for 7 days regardless of ratio
|
||||
# minimumratio:
|
||||
# text: 0.4
|
||||
minimumseedtime:
|
||||
# 1 day (as seconds = 24 x 60 x 60)
|
||||
text: 86400
|
||||
# UNIT3D 5.2.0
|
||||
# 7 day (as seconds = 7 x 24 x 60 x 60)
|
||||
text: 604800
|
||||
# UNIT3D 5.2.0 (customised)
|
||||
|
@@ -100,7 +100,7 @@ search:
|
||||
# does not support imdbid search and does not return imdb link in results
|
||||
|
||||
rows:
|
||||
selector: "table.lista > tbody > tr:has(a[href^=\"index.php?page=torrent-details&id=\"]){{ if .Config.freeleech }}:has(img[src=\"images/freeleech.gif\"]){{ else }}{{ end }}{{ if .Config.freeleech }}, table.lista > tbody > tr:has(a[href^=\"index.php?page=torrent-details&id=\"]):has(img[src=\"images/gold.gif\"]){{ else }}{{ end }}"
|
||||
selector: "table.lista > tbody > tr:has(a[href^=\"index.php?page=torrent-details&id=\"]):not(:has(a[href^=\"index.php?page=userdetails&id=\"])){{ if .Config.freeleech }}:has(img[src=\"images/freeleech.gif\"]){{ else }}{{ end }}{{ if .Config.freeleech }}, table.lista > tbody > tr:has(a[href^=\"index.php?page=torrent-details&id=\"]):not(:has(a[href^=\"index.php?page=userdetails&id=\"])):has(img[src=\"images/gold.gif\"]){{ else }}{{ end }}"
|
||||
|
||||
fields:
|
||||
category:
|
||||
|
@@ -36,9 +36,10 @@ caps:
|
||||
- {id: 191, cat: TV, desc: "TV/BluTv"}
|
||||
- {id: 192, cat: TV, desc: "TV/BluTv Series"}
|
||||
- {id: 193, cat: Movies, desc: "TV/BluTv Film"}
|
||||
- {id: 199, cat: TV, desc: "TV/Netflix"}
|
||||
- {id: 188, cat: TV, desc: "TV/Netflix"}
|
||||
- {id: 189, cat: TV, desc: "TV/Netflix Series"}
|
||||
- {id: 190, cat: Movies, desc: "TV/Netflix Film"}
|
||||
- {id: 195, cat: TV, desc: "TV/Exxen"}
|
||||
- {id: 171, cat: Audio, desc: "Music"}
|
||||
- {id: 172, cat: Audio, desc: "Music/Turkish"}
|
||||
- {id: 173, cat: Audio, desc: "Music/Foreign"}
|
||||
|
@@ -7,7 +7,7 @@ type: public
|
||||
encoding: UTF-8
|
||||
followredirect: true
|
||||
links:
|
||||
- https://torrentqq88.com/
|
||||
- https://torrentqq89.com/
|
||||
legacylinks:
|
||||
- https://torrentqq76.com/
|
||||
- https://torrentqq77.com/
|
||||
@@ -21,6 +21,7 @@ legacylinks:
|
||||
- https://torrentqq85.com/
|
||||
- https://torrentqq86.com/
|
||||
- https://torrentqq87.com/
|
||||
- https://torrentqq88.com/
|
||||
|
||||
caps:
|
||||
categorymappings:
|
||||
|
@@ -119,6 +119,36 @@ search:
|
||||
args: ["(?i)(m720p|mhd720p)", "720p MicroHD"]
|
||||
- name: re_replace
|
||||
args: ["(?i)brrip", "BDRip"]
|
||||
- name: re_replace # Temporada 1 to S01
|
||||
args: ["(?i)\\btemporada *(\\d{1,2})\\b", "S$1"]
|
||||
- name: re_replace # T1 to S01
|
||||
args: ["\\bT(\\d{1,2})\\b", "S$1"]
|
||||
- name: re_replace # S1 to S01 / E1 to E01
|
||||
args: ["\\b([SE])(\\d)\\b", "${1}0$2"]
|
||||
- name: re_replace # S01 E01 to S01E01 / T01E01 to S01E01
|
||||
args: ["\\b[ST](\\d{1,2}) *E(\\d{1,2})\\b", "S$1E$2"]
|
||||
- name: re_replace # S1 a S2 to S1-2
|
||||
args: ["(S\\d{1,2})( a S*| A S*| a la S*| A LA S*)(\\d{1,2})", "$1-$3"]
|
||||
- name: re_replace # S01E01 E02 E03 to S01E01-02-03 (2 episodes)
|
||||
args: ["([E-]\\d{1,2})( E| a E*| A E*| al E*| AL E*)(\\d{1,2})", "$1-$3"]
|
||||
- name: re_replace # continuation (3 episodes)
|
||||
args: ["([E-]\\d{1,2})( E| a E*| A E*| al E*| AL E*)(\\d{1,2})", "$1-$3"]
|
||||
- name: re_replace # continuation (4 episodes)
|
||||
args: ["([E-]\\d{1,2})( E| a E*| A E*| al E*| AL E*)(\\d{1,2})", "$1-$3"]
|
||||
- name: re_replace # continuation (5 episodes)
|
||||
args: ["([E-]\\d{1,2})( E| a E*| A E*| al E*| AL E*)(\\d{1,2})", "$1-$3"]
|
||||
- name: re_replace # continuation (6 episodes)
|
||||
args: ["([E-]\\d{1,2})( E| a E*| A E*| al E*| AL E*)(\\d{1,2})", "$1-$3"]
|
||||
- name: re_replace # continuation (7 episodes)
|
||||
args: ["([E-]\\d{1,2})( E| a E*| A E*| al E*| AL E*)(\\d{1,2})", "$1-$3"]
|
||||
- name: re_replace # continuation (8 episodes)
|
||||
args: ["([E-]\\d{1,2})( E| a E*| A E*| al E*| AL E*)(\\d{1,2})", "$1-$3"]
|
||||
- name: re_replace # continuation (9 episodes)
|
||||
args: ["([E-]\\d{1,2})( E| a E*| A E*| al E*| AL E*)(\\d{1,2})", "$1-$3"]
|
||||
- name: re_replace # continuation (10 episodes)
|
||||
args: ["([E-]\\d{1,2})( E| a E*| A E*| al E*| AL E*)(\\d{1,2})", "$1-$3"]
|
||||
- name: re_replace # 2x6 to S02E06
|
||||
args: ["\\b(\\d{1,2})x(\\d{1,2})\\b", "S$1E$2"]
|
||||
- name: append
|
||||
args: " MULTi/SPANiSH" # Add language for Sonarr/Radarr
|
||||
download:
|
||||
@@ -127,6 +157,14 @@ search:
|
||||
details:
|
||||
selector: a.view-torrent
|
||||
attribute: href
|
||||
poster:
|
||||
selector: div.torrent-poster img
|
||||
attribute: src
|
||||
filters:
|
||||
- name: replace
|
||||
args: ["&w=52&h=80", "&w=180&h=270"] # for display on dashboard
|
||||
- name: replace
|
||||
args: ["https://images.weserv.nl/?url=https://via.placeholder.com/52x80&w=180&h=270", ""]
|
||||
size:
|
||||
selector: td:nth-last-child(4)
|
||||
seeders:
|
||||
|
@@ -14,7 +14,9 @@ legacylinks:
|
||||
caps:
|
||||
categorymappings:
|
||||
- {id: 36, cat: Movies, desc: "Film"}
|
||||
- {id: 59, cat: Movies, desc: "Türk Filmi"}
|
||||
- {id: 76, cat: Movies, desc: "Film Almanca [Tek Dil!]"}
|
||||
- {id: 78, cat: Movies, desc: "Film İngilizce [NL Altyazı!]"}
|
||||
- {id: 59, cat: Movies, desc: "Film Türk Filmi"}
|
||||
- {id: 61, cat: Movies/3D, desc: "Film 3D"}
|
||||
- {id: 18, cat: Movies, desc: "Anime - Çizgi"}
|
||||
- {id: 20, cat: Movies, desc: "Film Boxset"}
|
||||
@@ -44,6 +46,14 @@ caps:
|
||||
- {id: 39, cat: TV, desc: "Netflix Film"}
|
||||
- {id: 38, cat: TV, desc: "Netflix Dizi"}
|
||||
- {id: 40, cat: TV, desc: "Netflix Belgesel"}
|
||||
- {id: 83, cat: TV, desc: "Dijital Platform"}
|
||||
- {id: 84, cat: TV, desc: "Dijital Platform BluTV"}
|
||||
- {id: 85, cat: TV, desc: "Dijital Platform BEiN"}
|
||||
- {id: 77, cat: TV, desc: "Dijital Platform EXXEN"}
|
||||
- {id: 86, cat: TV, desc: "Dijital Platform AMAZON"}
|
||||
- {id: 87, cat: TV, desc: "Dijital Platform GAIN"}
|
||||
- {id: 88, cat: TV, desc: "Dijital Platform TV+"}
|
||||
- {id: 89, cat: TV, desc: "Dijital Platform Diger"}
|
||||
- {id: 31, cat: TV, desc: "Dizi"}
|
||||
- {id: 32, cat: TV, desc: "Dizi Yerli"}
|
||||
- {id: 33, cat: TV, desc: "Dizi Yabancı Orjinal Dil / Tr Dublaj "}
|
||||
|
@@ -6,7 +6,7 @@ language: fr-fr
|
||||
type: public
|
||||
encoding: UTF-8
|
||||
links:
|
||||
- https://www.zetorrents.org/
|
||||
- https://wvw.zetorrents.org/
|
||||
legacylinks:
|
||||
- https://www.zetorrents.co/
|
||||
- https://www.zetorrents.io/
|
||||
@@ -14,6 +14,7 @@ legacylinks:
|
||||
- https://vww.zetorrents.io/
|
||||
- https://wwv.zetorrents.io/
|
||||
- https://ww1.zetorrents.io/
|
||||
- https://www.zetorrents.org/
|
||||
|
||||
caps:
|
||||
categories:
|
||||
|
@@ -145,6 +145,7 @@ namespace Jackett.Common.Indexers
|
||||
AddCategoryMapping(86, TorznabCatType.PC0day, "Appz/Non-English");
|
||||
AddCategoryMapping(64, TorznabCatType.AudioAudiobook, "AudioBook");
|
||||
AddCategoryMapping(35, TorznabCatType.Books, "Books");
|
||||
AddCategoryMapping(102, TorznabCatType.Books, "Books/Non-English");
|
||||
AddCategoryMapping(94, TorznabCatType.BooksComics, "Books/Comics");
|
||||
AddCategoryMapping(95, TorznabCatType.BooksOther, "Books/Educational");
|
||||
AddCategoryMapping(98, TorznabCatType.Other, "Other/Fonts");
|
||||
|
@@ -101,8 +101,7 @@ namespace Jackett.Common.Indexers
|
||||
public override string[] AlternativeSiteLinks { get; protected set; } = {
|
||||
"https://pctmix.com/",
|
||||
"https://pctmix1.com/",
|
||||
"https://pctreload1.com/",
|
||||
"https://maxitorrent.com"
|
||||
"https://pctreload1.com/"
|
||||
};
|
||||
|
||||
public override string[] LegacySiteLinks { get; protected set; } = {
|
||||
@@ -116,7 +115,8 @@ namespace Jackett.Common.Indexers
|
||||
"http://pctnew.com/",
|
||||
"https://descargas2020.org/",
|
||||
"https://pctnew.org/",
|
||||
"https://pctreload.com/"
|
||||
"https://pctreload.com/",
|
||||
"https://maxitorrent.com"
|
||||
};
|
||||
|
||||
public NewPCT(IIndexerConfigurationService configService, WebClient wc, Logger l, IProtectionService ps,
|
||||
|
@@ -1,19 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Specialized;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using AngleSharp.Dom;
|
||||
using AngleSharp.Html.Parser;
|
||||
using Jackett.Common.Models;
|
||||
using Jackett.Common.Models.IndexerConfig;
|
||||
using Jackett.Common.Services.Interfaces;
|
||||
using Jackett.Common.Utils;
|
||||
using Jackett.Common.Utils.Clients;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using NLog;
|
||||
|
||||
namespace Jackett.Common.Indexers
|
||||
{
|
||||
[ExcludeFromCodeCoverage]
|
||||
@@ -41,11 +38,11 @@ namespace Jackett.Common.Indexers
|
||||
logger: l,
|
||||
p: ps,
|
||||
cacheService: cs,
|
||||
configData: new ConfigurationDataBasicLoginWithEmail())
|
||||
configData: new ConfigurationData())
|
||||
{
|
||||
Encoding = Encoding.UTF8;
|
||||
Language = "ru-ru";
|
||||
Type = "semi-private";
|
||||
Type = "public";
|
||||
|
||||
AddCategoryMapping(1, TorznabCatType.TVAnime, "Anime");
|
||||
}
|
||||
@@ -53,168 +50,222 @@ namespace Jackett.Common.Indexers
|
||||
private ConfigurationDataBasicLoginWithEmail Configuration => (ConfigurationDataBasicLoginWithEmail)configData;
|
||||
|
||||
/// <summary>
|
||||
/// http://shiza-project.com/accounts/login
|
||||
/// http://shiza-project.com/graphql
|
||||
/// </summary>
|
||||
private string LoginUrl => SiteLink + "accounts/login";
|
||||
|
||||
/// <summary>
|
||||
/// http://shiza-project.com/releases/search
|
||||
/// </summary>
|
||||
private string SearchUrl => SiteLink + "releases/search";
|
||||
private string GraphqlEndpointUrl => SiteLink + "graphql";
|
||||
|
||||
public override async Task<IndexerConfigurationStatus> ApplyConfiguration(JToken configJson)
|
||||
{
|
||||
LoadValuesFromJson(configJson);
|
||||
var releases = await PerformQuery(new TorznabQuery());
|
||||
|
||||
var data = new Dictionary<string, string>
|
||||
{
|
||||
{ "field-email", Configuration.Email.Value },
|
||||
{ "field-password", Configuration.Password.Value }
|
||||
};
|
||||
|
||||
var result = await RequestLoginAndFollowRedirect(
|
||||
LoginUrl,
|
||||
data,
|
||||
null,
|
||||
returnCookiesFromFirstCall: true
|
||||
);
|
||||
|
||||
var parser = new HtmlParser();
|
||||
var document = await parser.ParseDocumentAsync(result.ContentString);
|
||||
|
||||
await ConfigureIfOK(result.Cookies, IsAuthorized(result), () =>
|
||||
{
|
||||
var errorMessage = document.QuerySelector("div.alert-error").Text().Trim();
|
||||
throw new ExceptionWithConfigData(errorMessage, Configuration);
|
||||
});
|
||||
await ConfigureIfOK(string.Empty, releases.Any(), () =>
|
||||
throw new Exception("Could not find releases from this URL"));
|
||||
|
||||
return IndexerConfigurationStatus.Completed;
|
||||
}
|
||||
|
||||
public override async Task<byte[]> Download(Uri link)
|
||||
{
|
||||
await EnsureAuthorized();
|
||||
return await base.Download(link);
|
||||
}
|
||||
|
||||
// If the search string is empty use the latest releases
|
||||
protected override async Task<IEnumerable<ReleaseInfo>> PerformQuery(TorznabQuery query)
|
||||
{
|
||||
await EnsureAuthorized();
|
||||
|
||||
WebResult result;
|
||||
if (query.IsTest || string.IsNullOrWhiteSpace(query.SearchTerm))
|
||||
var releasesQuery = new
|
||||
{
|
||||
result = await RequestWithCookiesAndRetryAsync(SiteLink);
|
||||
}
|
||||
else
|
||||
{
|
||||
// Prepare the search query
|
||||
var queryParameters = new NameValueCollection
|
||||
operationName = "fetchReleases",
|
||||
variables = new
|
||||
{
|
||||
{ "q", query.SearchTerm}
|
||||
};
|
||||
result = await RequestWithCookiesAndRetryAsync(SearchUrl + "?" + queryParameters.GetQueryString());
|
||||
}
|
||||
|
||||
const string ReleaseLinksSelector = "article.grid-card > a.card-box";
|
||||
first = 50, //Number of fetched releases (required parameter) TODO: consider adding pagination
|
||||
query = query.SearchTerm
|
||||
},
|
||||
query = @"
|
||||
query fetchReleases($first: Int, $query: String) {
|
||||
releases(first: $first, query: $query) {
|
||||
edges {
|
||||
node {
|
||||
name
|
||||
originalName
|
||||
alternativeNames
|
||||
publishedAt
|
||||
slug
|
||||
posters {
|
||||
preview: resize(width: 360, height: 500) {
|
||||
url
|
||||
}
|
||||
}
|
||||
torrents {
|
||||
downloaded
|
||||
seeders
|
||||
leechers
|
||||
size
|
||||
magnetUri
|
||||
updatedAt
|
||||
file {
|
||||
url
|
||||
}
|
||||
videoQualities
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}"
|
||||
};
|
||||
var headers = new Dictionary<string, string>
|
||||
{
|
||||
{ "Content-Type", "application/json; charset=utf-8" },
|
||||
};
|
||||
var response = await RequestWithCookiesAndRetryAsync(GraphqlEndpointUrl, method: RequestType.POST, rawbody: Newtonsoft.Json.JsonConvert.SerializeObject(releasesQuery), headers: headers);
|
||||
var j = JsonConvert.DeserializeObject<ReleasesResponse>(response.ContentString);
|
||||
var releases = new List<ReleaseInfo>();
|
||||
|
||||
try
|
||||
foreach (var e in j.Data.Releases.Edges)
|
||||
{
|
||||
var parser = new HtmlParser();
|
||||
var document = await parser.ParseDocumentAsync(result.ContentString);
|
||||
|
||||
foreach (var linkNode in document.QuerySelectorAll(ReleaseLinksSelector))
|
||||
{
|
||||
var url = linkNode.GetAttribute("href");
|
||||
releases.AddRange(await FetchShowReleases(url));
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
OnParseError(result.ContentString, ex);
|
||||
}
|
||||
|
||||
return releases;
|
||||
}
|
||||
|
||||
private async Task EnsureAuthorized()
|
||||
{
|
||||
var result = await RequestWithCookiesAndRetryAsync(SiteLink);
|
||||
|
||||
if (!IsAuthorized(result))
|
||||
{
|
||||
await ApplyConfiguration(null);
|
||||
}
|
||||
}
|
||||
|
||||
private async Task<List<ReleaseInfo>> FetchShowReleases(string url)
|
||||
{
|
||||
var releases = new List<ReleaseInfo>();
|
||||
var uri = new Uri(url);
|
||||
var result = await RequestWithCookiesAndRetryAsync(url);
|
||||
|
||||
try
|
||||
{
|
||||
var parser = new HtmlParser();
|
||||
var document = await parser.ParseDocumentAsync(result.ContentString);
|
||||
var r = document.QuerySelector("div.release > div.wrapper-release");
|
||||
|
||||
var n = e.Node;
|
||||
var baseRelease = new ReleaseInfo
|
||||
{
|
||||
Title = composeBaseTitle(r),
|
||||
Poster = new Uri(SiteLink + r.QuerySelector("a[data-fancybox]").Attributes["href"].Value),
|
||||
Details = uri,
|
||||
Title = composeTitle(n),
|
||||
Poster = n.Posters[0].Preview.Url,
|
||||
Details = new Uri(SiteLink + "releases/" + n.Slug),
|
||||
DownloadVolumeFactor = 0,
|
||||
UploadVolumeFactor = 1,
|
||||
Category = new[] { TorznabCatType.TVAnime.ID }
|
||||
};
|
||||
|
||||
foreach (var t in r.QuerySelectorAll("a[data-toggle]"))
|
||||
foreach (var t in n.Torrents)
|
||||
{
|
||||
var release = (ReleaseInfo)baseRelease.Clone();
|
||||
release.Title += " " + t.Text().Trim();
|
||||
var tr_id = t.Attributes["href"].Value;
|
||||
var tr = r.QuerySelector("div" + tr_id);
|
||||
release.Link = new Uri(tr.QuerySelector("a.button--success").Attributes["href"].Value);
|
||||
release.Seeders = long.Parse(tr.QuerySelector("div.torrent-counter > div:nth-of-type(1)").Text().Trim().Split(' ')[0]);
|
||||
release.Peers = release.Seeders + long.Parse(tr.QuerySelector("div.torrent-counter > div:nth-of-type(2)").Text().Trim().Split(' ')[0]);
|
||||
release.Grabs = long.Parse(tr.QuerySelector("div.torrent-counter > div:nth-of-type(3)").Text().Trim().Split(' ')[0]);
|
||||
release.PublishDate = DateTime.Parse(tr.QuerySelector("time.torrent-time").Text());
|
||||
release.Size = getReleaseSize(tr);
|
||||
release.Guid = new Uri(uri.ToString() + tr_id);
|
||||
|
||||
release.Title += getTitleQualities(t);
|
||||
release.Size = t.Size;
|
||||
release.Seeders = t.Seeders;
|
||||
release.Peers = t.Leechers + t.Seeders;
|
||||
release.Grabs = t.Downloaded;
|
||||
release.Link = t.File.Url;
|
||||
release.Guid = t.File.Url;
|
||||
release.MagnetUri = t.MagnetUri;
|
||||
release.PublishDate = getActualPublishDate(n, t);
|
||||
releases.Add(release);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
OnParseError(result.ContentString, ex);
|
||||
}
|
||||
|
||||
return releases;
|
||||
}
|
||||
|
||||
private string composeBaseTitle(IElement release)
|
||||
private string composeTitle(Node n)
|
||||
{
|
||||
var titleDiv = release.QuerySelector("section:nth-of-type(2) > div.card > article:nth-of-type(1) > div.card-header");
|
||||
return titleDiv.QuerySelector("h3").Text() + " " + titleDiv.QuerySelector("p").Text();
|
||||
var title = n.Name;
|
||||
title += " / " + n.OriginalName;
|
||||
foreach (string name in n.AlternativeNames)
|
||||
title += " / " + name;
|
||||
|
||||
return title;
|
||||
}
|
||||
|
||||
// Appending id to differentiate between different quality versions
|
||||
private bool IsAuthorized(WebResult result)
|
||||
private DateTime getActualPublishDate(Node n, Torrent t)
|
||||
{
|
||||
return result.ContentString.Contains("/logout");
|
||||
if (n.PublishedAt == null)
|
||||
{
|
||||
return t.UpdatedAt;
|
||||
}
|
||||
else
|
||||
{
|
||||
return (t.UpdatedAt > n.PublishedAt) ? t.UpdatedAt : n.PublishedAt.Value;
|
||||
}
|
||||
}
|
||||
|
||||
private static long getReleaseSize(IElement tr)
|
||||
private string getTitleQualities(Torrent t)
|
||||
{
|
||||
var size = tr.QuerySelector("a.torrent-size").Text().Trim();
|
||||
size = size.Replace("КБ", "KB");
|
||||
size = size.Replace("МБ", "MB");
|
||||
size = size.Replace("ГБ", "GB");
|
||||
size = size.Replace("ТБ", "TB");
|
||||
return ReleaseInfo.GetBytes(size);
|
||||
var s = " [";
|
||||
|
||||
foreach (string q in t.VideoQualities)
|
||||
{
|
||||
s += " " + q;
|
||||
}
|
||||
|
||||
return s + " ]";
|
||||
}
|
||||
|
||||
public partial class ReleasesResponse
|
||||
{
|
||||
[JsonProperty("data")]
|
||||
public Data Data { get; set; }
|
||||
}
|
||||
|
||||
public partial class Data
|
||||
{
|
||||
[JsonProperty("releases")]
|
||||
public Releases Releases { get; set; }
|
||||
}
|
||||
|
||||
public partial class Releases
|
||||
{
|
||||
[JsonProperty("edges")]
|
||||
public Edge[] Edges { get; set; }
|
||||
}
|
||||
|
||||
public partial class Edge
|
||||
{
|
||||
[JsonProperty("node")]
|
||||
public Node Node { get; set; }
|
||||
}
|
||||
|
||||
public partial class Node
|
||||
{
|
||||
[JsonProperty("name")]
|
||||
public string Name { get; set; }
|
||||
|
||||
[JsonProperty("originalName")]
|
||||
public string OriginalName { get; set; }
|
||||
|
||||
[JsonProperty("alternativeNames")]
|
||||
public string[] AlternativeNames { get; set; }
|
||||
|
||||
[JsonProperty("publishedAt")]
|
||||
public DateTime? PublishedAt { get; set; }
|
||||
|
||||
[JsonProperty("slug")]
|
||||
public string Slug { get; set; }
|
||||
|
||||
[JsonProperty("posters")]
|
||||
public Poster[] Posters { get; set; }
|
||||
|
||||
[JsonProperty("torrents")]
|
||||
public Torrent[] Torrents { get; set; }
|
||||
}
|
||||
|
||||
public partial class Poster
|
||||
{
|
||||
[JsonProperty("preview")]
|
||||
public Preview Preview { get; set; }
|
||||
}
|
||||
|
||||
public partial class Preview
|
||||
{
|
||||
[JsonProperty("url")]
|
||||
public Uri Url { get; set; }
|
||||
}
|
||||
|
||||
public partial class Torrent
|
||||
{
|
||||
[JsonProperty("downloaded")]
|
||||
public long Downloaded { get; set; }
|
||||
|
||||
[JsonProperty("seeders")]
|
||||
public long Seeders { get; set; }
|
||||
|
||||
[JsonProperty("leechers")]
|
||||
public long Leechers { get; set; }
|
||||
|
||||
[JsonProperty("size")]
|
||||
public long Size { get; set; }
|
||||
|
||||
[JsonProperty("magnetUri")]
|
||||
public Uri MagnetUri { get; set; }
|
||||
|
||||
[JsonProperty("updatedAt")]
|
||||
public DateTime UpdatedAt { get; set; }
|
||||
|
||||
[JsonProperty("file")]
|
||||
public Preview File { get; set; }
|
||||
|
||||
[JsonProperty("videoQualities")]
|
||||
public string[] VideoQualities { get; set; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -309,9 +309,6 @@ namespace Jackett.Common.Indexers
|
||||
{
|
||||
var releases = new List<ReleaseInfo>();
|
||||
var searchTerm = query.SanitizedSearchTerm + " " + query.GetEpisodeSearchString();
|
||||
searchTerm = searchTerm.Trim();
|
||||
searchTerm = searchTerm.ToLower();
|
||||
searchTerm = searchTerm.Replace(" ", ".");
|
||||
|
||||
if (EnhancedAnimeSearch && query.HasSpecifiedCategories && (query.Categories.Contains(TorznabCatType.TVAnime.ID) || query.Categories.Contains(100032) || query.Categories.Contains(100101) || query.Categories.Contains(100110)))
|
||||
{
|
||||
@@ -319,6 +316,10 @@ namespace Jackett.Common.Indexers
|
||||
searchTerm = regex.Replace(searchTerm, " E$1");
|
||||
}
|
||||
|
||||
searchTerm = searchTerm.Trim();
|
||||
searchTerm = searchTerm.ToLower();
|
||||
searchTerm = searchTerm.Replace(" ", ".");
|
||||
|
||||
// Multiple page support
|
||||
var nextPage = 1;
|
||||
var followingPages = true;
|
||||
|
Reference in New Issue
Block a user