mirror of https://github.com/Jackett/Jackett
4thd: handle invalid date. resolves #6622
also add config sort option add new category 44 music pack
This commit is contained in:
parent
2fc244484c
commit
9f6c3ffd25
|
@ -26,6 +26,7 @@
|
||||||
- {id: 2, cat: TV/SD, "TV/SD MP4/mkv"}
|
- {id: 2, cat: TV/SD, "TV/SD MP4/mkv"}
|
||||||
- {id: 31, cat: TV/SD, "TV/XviD"}
|
- {id: 31, cat: TV/SD, "TV/XviD"}
|
||||||
- {id: 18, cat: PC/Games, "Games/PC"}
|
- {id: 18, cat: PC/Games, "Games/PC"}
|
||||||
|
- {id: 44, cat: Audio, "Music/Pack"}
|
||||||
- {id: 12, cat: Audio/Lossless, "Music/FLAC"}
|
- {id: 12, cat: Audio/Lossless, "Music/FLAC"}
|
||||||
- {id: 15, cat: Audio/MP3, "Music/MP3"}
|
- {id: 15, cat: Audio/MP3, "Music/MP3"}
|
||||||
- {id: 37, cat: Audio, "Radio"}
|
- {id: 37, cat: Audio, "Radio"}
|
||||||
|
@ -38,6 +39,29 @@
|
||||||
tv-search: [q, season, ep]
|
tv-search: [q, season, ep]
|
||||||
movie-search: [q]
|
movie-search: [q]
|
||||||
|
|
||||||
|
settings:
|
||||||
|
- name: username
|
||||||
|
type: text
|
||||||
|
label: Username
|
||||||
|
- name: password
|
||||||
|
type: password
|
||||||
|
label: Password
|
||||||
|
- name: sort
|
||||||
|
type: select
|
||||||
|
label: Sort requested from site
|
||||||
|
default: "time"
|
||||||
|
options:
|
||||||
|
"time": "created"
|
||||||
|
"seeders": "seeders"
|
||||||
|
"size": "size"
|
||||||
|
- name: type
|
||||||
|
type: select
|
||||||
|
label: Order requested from site
|
||||||
|
default: "desc"
|
||||||
|
options:
|
||||||
|
"desc": "desc"
|
||||||
|
"asc": "asc"
|
||||||
|
|
||||||
login:
|
login:
|
||||||
path: login.php
|
path: login.php
|
||||||
method: form
|
method: form
|
||||||
|
@ -57,24 +81,26 @@
|
||||||
- path: torrents.php
|
- path: torrents.php
|
||||||
inputs:
|
inputs:
|
||||||
# https://4thd.xyz/torrents.php?order_by=time&order_way=desc&filter_freeleech=1&title=twilight+zone&search_type=1&taglist=&tags_type=0
|
# https://4thd.xyz/torrents.php?order_by=time&order_way=desc&filter_freeleech=1&title=twilight+zone&search_type=1&taglist=&tags_type=0
|
||||||
$raw: "{{range .Categories}}filter_cat[{{.}}]=1&{{end}}"
|
$raw: "{{ range .Categories }}filter_cat[{{.}}]=1&{{end}}"
|
||||||
order_by: time
|
order_by: "{{ .Config.sort }}"
|
||||||
order_way: desc
|
order_way: "{{ .Config.type }}"
|
||||||
# 0 all 1 onlyfree
|
# 0 all 1 onlyfree
|
||||||
filter_freeleech: 0
|
filter_freeleech: 0
|
||||||
title: "{{ .Keywords }}"
|
title: "{{ .Keywords }}"
|
||||||
search_type: 1
|
search_type: 1
|
||||||
taglist: ""
|
taglist: ""
|
||||||
tags_type: 0
|
tags_type: 0
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table#torrent_table > tbody > tr.torrent
|
selector: table#torrent_table > tbody > tr.torrent
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
category:
|
category:
|
||||||
selector: td.cats_col div a
|
selector: td.cats_col div a
|
||||||
attribute: href
|
attribute: href
|
||||||
filters:
|
filters:
|
||||||
- name: regexp
|
- name: regexp
|
||||||
args: "\\[(\\d+)\\]"
|
args: \[(\d+)\]
|
||||||
title:
|
title:
|
||||||
selector: a[href^="torrents.php?id="]
|
selector: a[href^="torrents.php?id="]
|
||||||
details:
|
details:
|
||||||
|
@ -97,6 +123,9 @@
|
||||||
selector: td:nth-child(3)
|
selector: td:nth-child(3)
|
||||||
date:
|
date:
|
||||||
selector: td:nth-child(5)
|
selector: td:nth-child(5)
|
||||||
|
filters:
|
||||||
|
- name: replace
|
||||||
|
args: ["Never", "99 years ago"]
|
||||||
size:
|
size:
|
||||||
selector: td:nth-child(6)
|
selector: td:nth-child(6)
|
||||||
grabs:
|
grabs:
|
||||||
|
|
Loading…
Reference in New Issue