Skip to content

Commit

Permalink
yggtorrent.yml & yggcookie.yml: new domain and login (#15313)
Browse files Browse the repository at this point in the history
  • Loading branch information
enzogh committed May 17, 2024
1 parent 15d1c54 commit c9bb1ec
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
5 changes: 3 additions & 2 deletions src/Jackett.Common/Definitions/yggcookie.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ encoding: UTF-8
followredirect: true
requestDelay: 2
links:
- https://www3.yggtorrent.cool/
- https://www.ygg.re/
legacylinks:
- https://ww3.yggtorrent.si/
- https://yggtorrent.si/
Expand All @@ -26,6 +26,7 @@ legacylinks:
- https://www3.yggtorrent.do/
- https://www3.yggtorrent.wtf/
- https://www3.yggtorrent.qa/
- https://www3.yggtorrent.cool/

caps:
# dont forget to update the search fields category case block
Expand Down Expand Up @@ -182,7 +183,7 @@ login:
cookie: "{{ .Config.cookie }}"
test:
path: /
selector: div#top_panel:contains("Déconnexion")
selector: a[href$="/user/logout"]

search:
paths:
Expand Down
14 changes: 6 additions & 8 deletions src/Jackett.Common/Definitions/yggtorrent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ encoding: UTF-8
followredirect: true
requestDelay: 2
links:
- https://www3.yggtorrent.cool/
- https://www.ygg.re/
legacylinks:
- https://ww3.yggtorrent.si/
- https://yggtorrent.si/
Expand All @@ -26,6 +26,7 @@ legacylinks:
- https://www3.yggtorrent.do/
- https://www3.yggtorrent.wtf/
- https://www3.yggtorrent.qa/
- https://www3.yggtorrent.cool/

caps:
# dont forget to update the search fields category case block
Expand Down Expand Up @@ -170,16 +171,13 @@ settings:

login:
method: form
path: /
form: "#user-login"
path: /auth/login
form: form[action="/auth/process_login"]
inputs:
id: "{{ .Config.username }}"
pass: "{{ .Config.password }}"
ci_csrf_token: ""
error:
- selector: "#login_msg_pass[style=\"\"][style] > center"
- selector: "#ban_msg_login[style=\"\"][style] > center"
- selector: "#login_msg_mail[style=\"\"][style] > center"
- selector: p.error-form
- selector: a[href$="/user/disabled"]
message:
# Compte Inactif
Expand All @@ -189,7 +187,7 @@ login:
args: " - Dès que vous passez en dessous d'un ratio inférieur à 1, Votre compte devient inactif et le site vous coupe les téléchargements."
test:
path: /
selector: div#top_panel:contains("Déconnexion")
selector: a[href$="/user/logout"]

search:
paths:
Expand Down

0 comments on commit c9bb1ec

Please sign in to comment.