mirror of https://github.com/Jackett/Jackett
YGG Fix: Removed stage settings. Added https. Added login headers (just in case). (#1561)
This commit is contained in:
parent
845faf9066
commit
14f86107e1
|
@ -2,10 +2,10 @@
|
||||||
site: yggtorrent
|
site: yggtorrent
|
||||||
name: YGGtorrent
|
name: YGGtorrent
|
||||||
language: fr-fr
|
language: fr-fr
|
||||||
type: private
|
type: semi-private
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
links:
|
links:
|
||||||
- http://yggtorrent.com
|
- https://yggtorrent.com
|
||||||
|
|
||||||
caps:
|
caps:
|
||||||
categorymappings:
|
categorymappings:
|
||||||
|
@ -22,27 +22,24 @@
|
||||||
- name: password
|
- name: password
|
||||||
type: password
|
type: password
|
||||||
label: Password
|
label: Password
|
||||||
- name: special_path
|
|
||||||
type: checkbox
|
|
||||||
label: Use an alternative path
|
|
||||||
default: true
|
|
||||||
- name: path
|
|
||||||
type: text
|
|
||||||
label: Alternative path (as seen in url)
|
|
||||||
default: "alpha"
|
|
||||||
login:
|
login:
|
||||||
path: "{{if .Config.special_path }}/{{ .Config.path }}{{else}}{{end}}/user/login"
|
path: "/user/login"
|
||||||
method: post
|
method: post
|
||||||
inputs:
|
inputs:
|
||||||
id: "{{ .Config.username }}"
|
id: "{{ .Config.username }}"
|
||||||
pass: "{{ .Config.password }}"
|
pass: "{{ .Config.password }}"
|
||||||
submit: ""
|
submit: ""
|
||||||
|
headers:
|
||||||
|
"[:authority]": "yggtorrent.com"
|
||||||
|
"[:method]": "post"
|
||||||
|
"[:path]": "/"
|
||||||
|
"[:scheme]": "https"
|
||||||
error:
|
error:
|
||||||
- selector: "body > div.page-content > div > div.col-md-10 > div > div > div > div > div.content-box-large.box-with-header > form > center > table > tbody > tr:nth-child(3) > td:nth-child(2) > button.text:contains('Se connecter')"
|
- selector: "body > div.page-content > div > div.col-md-10 > div > div > div > div > div.content-box-large.box-with-header > form > center > table > tbody > tr:nth-child(3) > td:nth-child(2) > button.text:contains('Se connecter')"
|
||||||
test:
|
test:
|
||||||
path: "{{if .Config.special_path }}/{{ .Config.path }}{{else}}{{end}}/"
|
path: "/"
|
||||||
search:
|
search:
|
||||||
path: "{{if .Config.special_path }}/{{ .Config.path }}{{else}}{{end}}{{if .Keywords}}/engine/search?q={{ .Keywords}}/{{else}}/torrents/2145-filmvideo{{end}}"
|
path: "{{if .Keywords}}/engine/search?q={{ .Keywords}}{{else}}/torrents/2145-filmvideo{{end}}"
|
||||||
rows:
|
rows:
|
||||||
selector: "table.table.table-striped > tbody > tr"
|
selector: "table.table.table-striped > tbody > tr"
|
||||||
fields:
|
fields:
|
||||||
|
|
Loading…
Reference in New Issue