mirror of https://github.com/Jackett/Jackett
parent
c56c2b0dd9
commit
3dfd0d22bb
|
@ -6,8 +6,9 @@
|
||||||
type: semi-private
|
type: semi-private
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
links:
|
links:
|
||||||
- https://yggtorrent.com/
|
- https://yggtorrent.is/
|
||||||
legacylinks:
|
legacylinks:
|
||||||
|
- https://yggtorrent.com/
|
||||||
- https://ww1.yggtorrent.com/
|
- https://ww1.yggtorrent.com/
|
||||||
|
|
||||||
caps:
|
caps:
|
||||||
|
@ -97,37 +98,36 @@
|
||||||
default: false
|
default: false
|
||||||
|
|
||||||
login:
|
login:
|
||||||
path: "/user/login"
|
path: "/"
|
||||||
method: post
|
method: post
|
||||||
inputs:
|
inputs:
|
||||||
id: "{{ .Config.username }}"
|
id: "{{ .Config.username }}"
|
||||||
pass: "{{ .Config.password }}"
|
pass: "{{ .Config.password }}"
|
||||||
submit: ""
|
submit: ""
|
||||||
error:
|
error:
|
||||||
- selector: "form > center > span[style=\"color:red\"]"
|
- selector: "#login_msg_pass[style=\"\"][style] > center"
|
||||||
test:
|
test:
|
||||||
path: "/"
|
path: "/"
|
||||||
selector: "a[href$=\"user/logout\"]"
|
selector: "a[href$=\"user/logout\"]"
|
||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
- path: "{{ if .Keywords }}/engine/search?category={{ .Config.category }}&q={{ .Keywords }}{{else}}/torrents/today?category=2145{{end}}"
|
- path: "{{ if .Keywords }}/engine/search?category={{ .Config.category }}&name={{ .Keywords }}&description=&file=&uploader=&sub_category=&do=search{{else}}/top/day?category=2145{{end}}"
|
||||||
- path: "{{ if .Keywords }}/engine/search?category={{ .Config.category }}&q={{ .Keywords }}&page=25{{else}}/torrents/today?category=2145&page=25{{end}}"
|
- path: "{{ if .Keywords }}/engine/search?category={{ .Config.category }}&name={{ .Keywords }}&description=&file=&uploader=&sub_category=&do=search&page=50{{else}}/top/day?category=2145&page=50{{end}}"
|
||||||
- path: "{{ if .Keywords }}/engine/search?category={{ .Config.category }}&q={{ .Keywords }}&page=50{{else}}/torrents/today?category=2145&page=50{{end}}"
|
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: "table.table.table-striped > tbody > tr"
|
selector: "table.table > tbody > tr"
|
||||||
fields:
|
fields:
|
||||||
_id:
|
_id:
|
||||||
selector: "a.torrent-name"
|
selector: ":nth-child(2) > a"
|
||||||
attribute: href
|
attribute: href
|
||||||
filters:
|
filters:
|
||||||
- name: regexp
|
- name: regexp
|
||||||
args: "/(\\d+)-"
|
args: "/(\\d+)-"
|
||||||
title_normal:
|
title_normal:
|
||||||
selector: "a.torrent-name"
|
selector: ":nth-child(2) > a"
|
||||||
title_filtered:
|
title_filtered:
|
||||||
selector: "a.torrent-name"
|
selector: ":nth-child(2) > a"
|
||||||
filters:
|
filters:
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: ["(?i)^(?:(.+?)((?:[\\.\\-\\s_\\[]+(?:imax|(?:dvd|bd|tv)(?:rip|scr)|bluray(?:\\-?rip)?|720\\s*p?|1080\\s*p?|vof?|vost(?:fr)?|multi|vf(?:f|q)?[1-3]?|(?:true)?french|eng?)[\\.\\-\\s_\\]]*)*)([\\(\\[]?(?:20|1[7-9])\\d{2}[\\)\\]]?)(.*)$|(.*))$", "$1 $3 $2 $4 $5"]
|
args: ["(?i)^(?:(.+?)((?:[\\.\\-\\s_\\[]+(?:imax|(?:dvd|bd|tv)(?:rip|scr)|bluray(?:\\-?rip)?|720\\s*p?|1080\\s*p?|vof?|vost(?:fr)?|multi|vf(?:f|q)?[1-3]?|(?:true)?french|eng?)[\\.\\-\\s_\\]]*)*)([\\(\\[]?(?:20|1[7-9])\\d{2}[\\)\\]]?)(.*)$|(.*))$", "$1 $3 $2 $4 $5"]
|
||||||
|
@ -142,10 +142,10 @@
|
||||||
title:
|
title:
|
||||||
text: "{{if .Config.filter_title }}{{ .Result.title_filtered }}{{else}}{{ .Result.title_normal }}{{end}}"
|
text: "{{if .Config.filter_title }}{{ .Result.title_filtered }}{{else}}{{ .Result.title_normal }}{{end}}"
|
||||||
details:
|
details:
|
||||||
selector: "a.torrent-name"
|
selector: ":nth-child(2) > a"
|
||||||
attribute: href
|
attribute: href
|
||||||
category:
|
category:
|
||||||
selector: "a.torrent-name"
|
selector: ":nth-child(2) > a"
|
||||||
case:
|
case:
|
||||||
"a[href*=\"/filmvidéo/animation/\"]" : 2178
|
"a[href*=\"/filmvidéo/animation/\"]" : 2178
|
||||||
"a[href*=\"/filmvidéo/animation-série/\"]" : 2179
|
"a[href*=\"/filmvidéo/animation-série/\"]" : 2179
|
||||||
|
@ -198,7 +198,7 @@
|
||||||
download:
|
download:
|
||||||
text: "/engine/download_torrent?id={{ .Result._id }}"
|
text: "/engine/download_torrent?id={{ .Result._id }}"
|
||||||
date:
|
date:
|
||||||
selector: "td:nth-child(3)"
|
selector: "td:nth-child(5)"
|
||||||
filters:
|
filters:
|
||||||
- name: replace
|
- name: replace
|
||||||
args: ["il y a ", ""]
|
args: ["il y a ", ""]
|
||||||
|
@ -223,16 +223,16 @@
|
||||||
- name: append
|
- name: append
|
||||||
args: " ago"
|
args: " ago"
|
||||||
size:
|
size:
|
||||||
selector: "td:nth-child(4)"
|
selector: "td:nth-child(6)"
|
||||||
seeders:
|
seeders:
|
||||||
text: 0
|
text: 0
|
||||||
seeders:
|
seeders:
|
||||||
selector: "td:nth-child(5)"
|
selector: "td:nth-child(8)"
|
||||||
optional: true
|
optional: true
|
||||||
leechers:
|
leechers:
|
||||||
text: 0
|
text: 0
|
||||||
leechers:
|
leechers:
|
||||||
selector: "td:nth-child(6)"
|
selector: "td:nth-child(*)"
|
||||||
optional: true
|
optional: true
|
||||||
downloadvolumefactor:
|
downloadvolumefactor:
|
||||||
text: "1"
|
text: "1"
|
||||||
|
|
Loading…
Reference in New Issue