This commit is contained in:
kaso17
2019-01-18 11:17:22 +01:00
5 changed files with 46 additions and 10 deletions

View File

@@ -461,7 +461,7 @@ All contributions are welcome just send a pull request. Jackett's framework all
### Windows ### Windows
* Install the .NET Core [SDK](https://www.microsoft.com/net/download/windows) * Install the .NET Core [SDK](https://www.microsoft.com/net/download/windows)
* Open the Jackett solution in Visual Studio 2017 (version 15.7 or above) * Open the Jackett solution in Visual Studio 2017 (version 15.8 or above)
* Right click on the Jackett solution and click 'Rebuild Solution' to restore nuget packages * Right click on the Jackett solution and click 'Rebuild Solution' to restore nuget packages
* Select Jackett.Server as startup project * Select Jackett.Server as startup project
* In the drop down menu of the run button select "Jackett.Server" instead of "IIS Express" * In the drop down menu of the run button select "Jackett.Server" instead of "IIS Express"

View File

@@ -80,6 +80,42 @@
search: search:
paths: paths:
- path: /index.php - path: /index.php
inputs:
pages: 1
- path: /index.php
inputs:
pages: 2
- path: /index.php
inputs:
pages: 3
- path: /index.php
inputs:
pages: 4
- path: /index.php
inputs:
pages: 5
- path: /index.php
inputs:
pages: 6
- path: /index.php
inputs:
pages: 7
- path: /index.php
inputs:
pages: 8
- path: /index.php
inputs:
pages: 9
- path: /index.php
inputs:
pages: 10
inputs:
search: "{{ .Keywords }}"
category: "{{range .Categories}}{{.}};{{end}}"
page: torrents
active: 0
order: 3
by: 2
keywordsfilters: keywordsfilters:
- name: diacritics - name: diacritics
args: replace args: replace
@@ -87,11 +123,6 @@
args: ["(?i)\\bS0*(\\d+)\\b", "$1"] args: ["(?i)\\bS0*(\\d+)\\b", "$1"]
- name: re_replace # S01E01 to 1 1 - name: re_replace # S01E01 to 1 1
args: ["(?i)\\bS0*(\\d+)E0*(\\d+)\\b", "$1 $2"] args: ["(?i)\\bS0*(\\d+)E0*(\\d+)\\b", "$1 $2"]
inputs:
search: "{{ .Keywords }}"
category: "{{range .Categories}}{{.}};{{end}}"
page: torrents
active: 0
rows: rows:
selector: div.b-content > table > tbody > tr > td > table.lista > tbody > tr:has(a[href^="index.php?page=torrents&category="]) selector: div.b-content > table > tbody > tr > td > table.lista > tbody > tr:has(a[href^="index.php?page=torrents&category="])
filters: filters:

View File

@@ -6,9 +6,10 @@
type: public type: public
encoding: UTF-8 encoding: UTF-8
links: links:
- https://www.torrent9.ch/ - https://www1.torrent9.ch/
legacylinks: legacylinks:
- https://www.torrents9.pw/ - https://www.torrents9.pw/
- https://www.torrent9.ch/
caps: caps:
categorymappings: categorymappings:

View File

@@ -131,6 +131,10 @@
type: checkbox type: checkbox
label: Replace VOSTFR with ENGLISH label: Replace VOSTFR with ENGLISH
default: false default: false
- name: enhancedAnime
type: checkbox
label: Enhance sonarr compatibility with anime by renaming episode (xxx to exxx). Works only if episode is at the end of the query. Can disturb movies search. (back to the future 3 -> back to the future e3)
default: false
login: login:
method: form method: form
path: / path: /
@@ -147,8 +151,8 @@
search: search:
paths: paths:
- path: "/engine/search?category={{ .Config.category }}&name={{ .Keywords }}&description=&file=&uploader=&sub_category=&do=search&order=desc&sort=publish_date" - path: "/engine/search?category={{ .Config.category }}&name={{if .Config.enhancedAnime}}{{ re_replace .Keywords \"([\\.\\s\\[\\-])(\\d+)$\" \"$1e$2\" }}{{else}}{{ .Keywords }}{{end}}&description=&file=&uploader=&sub_category=&do=search&order=desc&sort=publish_date"
- path: "/engine/search?category={{ .Config.category }}&name={{ .Keywords }}&description=&file=&uploader=&sub_category=&do=search&order=desc&sort=publish_date&page=50" - path: "/engine/search?category={{ .Config.category }}&name={{if .Config.enhancedAnime}}{{ re_replace .Keywords \"([\\.\\s\\[\\-])(\\d+)$\" \"$1e$2\" }}{{else}}{{ .Keywords }}{{end}}&description=&file=&uploader=&sub_category=&do=search&order=desc&sort=publish_date&page=50"
rows: rows:
selector: "table.table > tbody > tr" selector: "table.table > tbody > tr"

View File

@@ -236,7 +236,7 @@ namespace Jackett.Common.Indexers
banner.Remove(); banner.Remove();
} }
tooltip.QuerySelector("div:contains(\"Total Hits : \")").Remove(); tooltip.QuerySelector("div:contains(\"Total Hits\")").Remove();
var longtitle = tooltip.QuerySelectorAll("div").First(); var longtitle = tooltip.QuerySelectorAll("div").First();
release.Title = longtitle.TextContent; release.Title = longtitle.TextContent;