mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
yggtorrent: revert to post method for login (#10852)
This commit is contained in:
@@ -7,8 +7,7 @@ type: semi-private
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
followredirect: true
|
followredirect: true
|
||||||
links:
|
links:
|
||||||
- https://www.yggtorrent.si/
|
- https://www2.yggtorrent.si/
|
||||||
# don't forget to also change below in settings !
|
|
||||||
legacylinks:
|
legacylinks:
|
||||||
- https://yggtorrent.com/
|
- https://yggtorrent.com/
|
||||||
- https://ww1.yggtorrent.com/
|
- https://ww1.yggtorrent.com/
|
||||||
@@ -34,6 +33,7 @@ legacylinks:
|
|||||||
- https://www5.yggtorrent.pe/
|
- https://www5.yggtorrent.pe/
|
||||||
- https://yggtorrent.ws/
|
- https://yggtorrent.ws/
|
||||||
- https://yggtorrent.se/
|
- https://yggtorrent.se/
|
||||||
|
- https://www.yggtorrent.si/
|
||||||
|
|
||||||
caps:
|
caps:
|
||||||
categorymappings:
|
categorymappings:
|
||||||
@@ -113,10 +113,6 @@ settings:
|
|||||||
type: info
|
type: info
|
||||||
label: How to get the User-Agent
|
label: How to get the User-Agent
|
||||||
default: "<ol><li>From the same place you fetched the cookie,<li>Find <b>'user-agent:'</b> in the <b>Request Headers</b> section<li><b>Select</b> and <b>Copy</b> the whole user-agent string <i>(everything after 'user-agent: ')</i> and <b>Paste</b> here.</ol>"
|
default: "<ol><li>From the same place you fetched the cookie,<li>Find <b>'user-agent:'</b> in the <b>Request Headers</b> section<li><b>Select</b> and <b>Copy</b> the whole user-agent string <i>(everything after 'user-agent: ')</i> and <b>Paste</b> here.</ol>"
|
||||||
- name: searchanddlurl
|
|
||||||
label: Search and download URL
|
|
||||||
type: text
|
|
||||||
default: www2.yggtorrent.si
|
|
||||||
- name: category
|
- name: category
|
||||||
type: select
|
type: select
|
||||||
label: Catégorie
|
label: Catégorie
|
||||||
@@ -214,11 +210,9 @@ search:
|
|||||||
args: [" ", " "]
|
args: [" ", " "]
|
||||||
- name: trim
|
- name: trim
|
||||||
paths:
|
paths:
|
||||||
- path: "https://{{ .Config.searchanddlurl }}/{{ if .Config.betasearchengine }}new_search{{ else }}engine{{ end }}/search?category={{ .Config.category }}&name={{ if .Config.betasearchengine }}{{ .Keywords }}{{ else }}{{ re_replace .Keywords \"\\b[^\\s]+\\b\" \"\"$&\"\"}}{{ end }}&description=&file=&uploader=&sub_category=&do=search&order={{ .Config.type }}&sort={{ .Config.sort }}"
|
- path: "{{ if .Config.betasearchengine }}new_search{{ else }}engine{{ end }}/search?category={{ .Config.category }}&name={{ if .Config.betasearchengine }}{{ .Keywords }}{{ else }}{{ re_replace .Keywords \"\\b[^\\s]+\\b\" \"\"$&\"\"}}{{ end }}&description=&file=&uploader=&sub_category=&do=search&order={{ .Config.type }}&sort={{ .Config.sort }}"
|
||||||
followredirect: true
|
|
||||||
# Saison Word
|
# Saison Word
|
||||||
- path: "https://{{ .Config.searchanddlurl }}/{{ if .Config.betasearchengine }}new_search{{ else }}engine{{ end }}/search?category={{ .Config.category }}&name={{ if .Keywords }}{{ re_replace .Keywords \"[sS]0(\\d{1,2})\" \"Saison.$1\"}}{{ else }}&page=50{{ end }}&description=&file=&uploader=&sub_category=&do=search&order={{ .Config.type }}&sort={{ .Config.sort }}"
|
- path: "{{ if .Config.betasearchengine }}new_search{{ else }}engine{{ end }}/search?category={{ .Config.category }}&name={{ if .Keywords }}{{ re_replace .Keywords \"[sS]0(\\d{1,2})\" \"Saison.$1\"}}{{ else }}&page=50{{ end }}&description=&file=&uploader=&sub_category=&do=search&order={{ .Config.type }}&sort={{ .Config.sort }}"
|
||||||
followredirect: true
|
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table.table > tbody > tr
|
selector: table.table > tbody > tr
|
||||||
@@ -299,7 +293,7 @@ search:
|
|||||||
# changed the catid into and hidden div as of last tracker problem
|
# changed the catid into and hidden div as of last tracker problem
|
||||||
selector: ":nth-child(1) > div.hidden"
|
selector: ":nth-child(1) > div.hidden"
|
||||||
download:
|
download:
|
||||||
text: "https://{{ .Config.searchanddlurl }}/engine/download_torrent?id={{ .Result._id }}"
|
text: "{{ .Config.sitelink }}engine/download_torrent?id={{ .Result._id }}"
|
||||||
date:
|
date:
|
||||||
selector: td:nth-child(5)
|
selector: td:nth-child(5)
|
||||||
filters:
|
filters:
|
||||||
|
@@ -7,8 +7,7 @@ type: semi-private
|
|||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
followredirect: true
|
followredirect: true
|
||||||
links:
|
links:
|
||||||
- https://www.yggtorrent.si/
|
- https://www2.yggtorrent.si/
|
||||||
# don't forget to also change below in settings !
|
|
||||||
legacylinks:
|
legacylinks:
|
||||||
- https://yggtorrent.com/
|
- https://yggtorrent.com/
|
||||||
- https://ww1.yggtorrent.com/
|
- https://ww1.yggtorrent.com/
|
||||||
@@ -34,6 +33,7 @@ legacylinks:
|
|||||||
- https://www5.yggtorrent.pe/
|
- https://www5.yggtorrent.pe/
|
||||||
- https://yggtorrent.ws/
|
- https://yggtorrent.ws/
|
||||||
- https://yggtorrent.se/
|
- https://yggtorrent.se/
|
||||||
|
- https://www.yggtorrent.si/
|
||||||
|
|
||||||
caps:
|
caps:
|
||||||
categorymappings:
|
categorymappings:
|
||||||
@@ -98,10 +98,6 @@ caps:
|
|||||||
book-search: [q]
|
book-search: [q]
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
- name: searchanddlurl
|
|
||||||
label: Search and download URL
|
|
||||||
type: text
|
|
||||||
default: www2.yggtorrent.si
|
|
||||||
- name: username
|
- name: username
|
||||||
type: text
|
type: text
|
||||||
label: Username
|
label: Username
|
||||||
@@ -175,13 +171,11 @@ settings:
|
|||||||
default: This site may use Cloudflare DDoS Protection, therefore Jackett requires <a href="https://github.com/Jackett/Jackett#configuring-flaresolverr" target="_blank">FlareSolver</a> to access it.
|
default: This site may use Cloudflare DDoS Protection, therefore Jackett requires <a href="https://github.com/Jackett/Jackett#configuring-flaresolverr" target="_blank">FlareSolver</a> to access it.
|
||||||
|
|
||||||
login:
|
login:
|
||||||
method: form
|
method: post
|
||||||
path: /
|
path: "/user/login"
|
||||||
form: "#user-login"
|
|
||||||
inputs:
|
inputs:
|
||||||
id: "{{ .Config.username }}"
|
id: "{{ .Config.username }}"
|
||||||
pass: "{{ .Config.password }}"
|
pass: "{{ .Config.password }}"
|
||||||
submit: ""
|
|
||||||
error:
|
error:
|
||||||
- selector: "#login_msg_pass[style=\"\"][style] > center"
|
- selector: "#login_msg_pass[style=\"\"][style] > center"
|
||||||
- selector: "#ban_msg_login[style=\"\"][style] > center"
|
- selector: "#ban_msg_login[style=\"\"][style] > center"
|
||||||
@@ -222,11 +216,9 @@ search:
|
|||||||
args: [" ", " "]
|
args: [" ", " "]
|
||||||
- name: trim
|
- name: trim
|
||||||
paths:
|
paths:
|
||||||
- path: "https://{{ .Config.searchanddlurl }}/{{ if .Config.betasearchengine }}new_search{{ else }}engine{{ end }}/search?category={{ .Config.category }}&name={{ if .Config.betasearchengine }}{{ .Keywords }}{{ else }}{{ re_replace .Keywords \"\\b[^\\s]+\\b\" \"\"$&\"\"}}{{ end }}&description=&file=&uploader=&sub_category=&do=search&order={{ .Config.type }}&sort={{ .Config.sort }}"
|
- path: "{{ if .Config.betasearchengine }}new_search{{ else }}engine{{ end }}/search?category={{ .Config.category }}&name={{ if .Config.betasearchengine }}{{ .Keywords }}{{ else }}{{ re_replace .Keywords \"\\b[^\\s]+\\b\" \"\"$&\"\"}}{{ end }}&description=&file=&uploader=&sub_category=&do=search&order={{ .Config.type }}&sort={{ .Config.sort }}"
|
||||||
followredirect: true
|
|
||||||
# Saison Word
|
# Saison Word
|
||||||
- path: "https://{{ .Config.searchanddlurl }}/{{ if .Config.betasearchengine }}new_search{{ else }}engine{{ end }}/search?category={{ .Config.category }}&name={{ if .Keywords }}{{ re_replace .Keywords \"[sS]0(\\d{1,2})\" \"Saison.$1\"}}{{ else }}&page=50{{ end }}&description=&file=&uploader=&sub_category=&do=search&order={{ .Config.type }}&sort={{ .Config.sort }}"
|
- path: "{{ if .Config.betasearchengine }}new_search{{ else }}engine{{ end }}/search?category={{ .Config.category }}&name={{ if .Keywords }}{{ re_replace .Keywords \"[sS]0(\\d{1,2})\" \"Saison.$1\"}}{{ else }}&page=50{{ end }}&description=&file=&uploader=&sub_category=&do=search&order={{ .Config.type }}&sort={{ .Config.sort }}"
|
||||||
followredirect: true
|
|
||||||
|
|
||||||
rows:
|
rows:
|
||||||
selector: table.table > tbody > tr
|
selector: table.table > tbody > tr
|
||||||
@@ -307,7 +299,7 @@ search:
|
|||||||
# changed the catid into and hidden div as of last tracker problem
|
# changed the catid into and hidden div as of last tracker problem
|
||||||
selector: ":nth-child(1) > div.hidden"
|
selector: ":nth-child(1) > div.hidden"
|
||||||
download:
|
download:
|
||||||
text: "https://{{ .Config.searchanddlurl }}/engine/download_torrent?id={{ .Result._id }}"
|
text: "{{ .Config.sitelink }}engine/download_torrent?id={{ .Result._id }}"
|
||||||
date:
|
date:
|
||||||
selector: td:nth-child(5)
|
selector: td:nth-child(5)
|
||||||
filters:
|
filters:
|
||||||
|
Reference in New Issue
Block a user