mirror of https://github.com/Jackett/Jackett
turktorrent: changes for new login #4268
my a/c has been deleted so I cannot test login and check torrent results. I expect this to find no results.
This commit is contained in:
parent
530ccb185f
commit
cac5b92d6c
|
@ -6,9 +6,10 @@
|
||||||
type: private
|
type: private
|
||||||
encoding: ISO-8859-9
|
encoding: ISO-8859-9
|
||||||
links:
|
links:
|
||||||
- http://turktorrent.us/
|
- https://turktorrent.us/
|
||||||
legacylinks:
|
legacylinks:
|
||||||
- http://turktorrent1.in/
|
- http://turktorrent1.in/
|
||||||
|
- http://turktorrent.us/
|
||||||
|
|
||||||
caps:
|
caps:
|
||||||
categorymappings:
|
categorymappings:
|
||||||
|
@ -86,42 +87,41 @@
|
||||||
movie-search: [q]
|
movie-search: [q]
|
||||||
|
|
||||||
login:
|
login:
|
||||||
path: login.php
|
path: ?p=home&pid=1
|
||||||
method: form
|
method: form
|
||||||
form: form[action="takelogin.php"]
|
form: form#loginbox_form
|
||||||
|
submitpath: ajax/login.php
|
||||||
inputs:
|
inputs:
|
||||||
username: "{{ .Config.username }}"
|
action: "login"
|
||||||
password: "{{ .Config.password }}"
|
loginbox_membername: "{{ .Config.username }}"
|
||||||
captcha:
|
loginbox_password: "{{ .Config.password }}"
|
||||||
type: image
|
loginbox_remember: 1
|
||||||
selector: img#regimage
|
selectorinputs:
|
||||||
input: imagestring
|
securitytoken:
|
||||||
error:
|
selector: "script:contains(\"stKey: \")"
|
||||||
- selector: table:contains("Bir hata oluştu!")
|
|
||||||
test:
|
|
||||||
path: index.php
|
|
||||||
selector: a[href*="/logout.php?logouthash="]
|
|
||||||
|
|
||||||
ratio:
|
|
||||||
path: index.php
|
|
||||||
selector: div#top div:nth-child(2) span:nth-child(2)
|
|
||||||
filters:
|
filters:
|
||||||
- name: regexp
|
- name: regexp
|
||||||
args: "Ratio: (.+?) Bonus:"
|
args: "stKey: \"(.+?)\","
|
||||||
|
error:
|
||||||
|
- selector: div.error
|
||||||
|
- selector: :contains("-ERROR-")
|
||||||
|
test:
|
||||||
|
path: ?p=home&pid=1
|
||||||
|
selector: div#member_info_bar
|
||||||
|
|
||||||
search:
|
search:
|
||||||
paths:
|
paths:
|
||||||
- path: browse.php
|
- path: /
|
||||||
keywordsfilters:
|
keywordsfilters:
|
||||||
- name: re_replace # S01E01 to X.sezon X.blm
|
- name: re_replace # S01E01 to X.sezon X.blm
|
||||||
args: ["(?i)\\bS0*(\\d+)E0*(\\d+)\\b", "$1.sezon $2.blm"]
|
args: ["(?i)\\bS0*(\\d+)E0*(\\d+)\\b", "$1.sezon $2.blm"]
|
||||||
inputs:
|
inputs:
|
||||||
# does not support multi categories so defaulting to ALL
|
p: torrents
|
||||||
do: "search"
|
pid: 10
|
||||||
keywords: "{{if .Keywords}}\"{{.Keywords}}\"{{else}}{{end}}"
|
$raw: "{{range .Categories}}&cid[]={{.}}{{end}}"
|
||||||
category: "0"
|
keywords: "{{ .Keywords }}"
|
||||||
search_type: "t_name"
|
# name description both uploader
|
||||||
include_dead_torrents: "yes"
|
search_type: name
|
||||||
rows:
|
rows:
|
||||||
selector: table#sortabletable tbody tr:has(div[id^="port-target-"])
|
selector: table#sortabletable tbody tr:has(div[id^="port-target-"])
|
||||||
fields:
|
fields:
|
||||||
|
|
Loading…
Reference in New Issue