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
|
||||
encoding: ISO-8859-9
|
||||
links:
|
||||
- http://turktorrent.us/
|
||||
- https://turktorrent.us/
|
||||
legacylinks:
|
||||
- http://turktorrent1.in/
|
||||
- http://turktorrent.us/
|
||||
|
||||
caps:
|
||||
categorymappings:
|
||||
|
@ -86,42 +87,41 @@
|
|||
movie-search: [q]
|
||||
|
||||
login:
|
||||
path: login.php
|
||||
path: ?p=home&pid=1
|
||||
method: form
|
||||
form: form[action="takelogin.php"]
|
||||
form: form#loginbox_form
|
||||
submitpath: ajax/login.php
|
||||
inputs:
|
||||
username: "{{ .Config.username }}"
|
||||
password: "{{ .Config.password }}"
|
||||
captcha:
|
||||
type: image
|
||||
selector: img#regimage
|
||||
input: imagestring
|
||||
error:
|
||||
- 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)
|
||||
action: "login"
|
||||
loginbox_membername: "{{ .Config.username }}"
|
||||
loginbox_password: "{{ .Config.password }}"
|
||||
loginbox_remember: 1
|
||||
selectorinputs:
|
||||
securitytoken:
|
||||
selector: "script:contains(\"stKey: \")"
|
||||
filters:
|
||||
- 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:
|
||||
paths:
|
||||
- path: browse.php
|
||||
- path: /
|
||||
keywordsfilters:
|
||||
- name: re_replace # S01E01 to X.sezon X.blm
|
||||
args: ["(?i)\\bS0*(\\d+)E0*(\\d+)\\b", "$1.sezon $2.blm"]
|
||||
inputs:
|
||||
# does not support multi categories so defaulting to ALL
|
||||
do: "search"
|
||||
keywords: "{{if .Keywords}}\"{{.Keywords}}\"{{else}}{{end}}"
|
||||
category: "0"
|
||||
search_type: "t_name"
|
||||
include_dead_torrents: "yes"
|
||||
p: torrents
|
||||
pid: 10
|
||||
$raw: "{{range .Categories}}&cid[]={{.}}{{end}}"
|
||||
keywords: "{{ .Keywords }}"
|
||||
# name description both uploader
|
||||
search_type: name
|
||||
rows:
|
||||
selector: table#sortabletable tbody tr:has(div[id^="port-target-"])
|
||||
fields:
|
||||
|
|
Loading…
Reference in New Issue