From 5924a4fd2253a93465652b3aa1d5823f719c0dc8 Mon Sep 17 00:00:00 2001 From: Romain Lecat Date: Tue, 29 Jan 2019 18:09:49 +0100 Subject: [PATCH] YggTorrent: domain change www2. (#4565) --- src/Jackett.Common/Definitions/yggtorrent.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/Jackett.Common/Definitions/yggtorrent.yml b/src/Jackett.Common/Definitions/yggtorrent.yml index 5ea8978b8..23cd2b098 100644 --- a/src/Jackett.Common/Definitions/yggtorrent.yml +++ b/src/Jackett.Common/Definitions/yggtorrent.yml @@ -7,7 +7,7 @@ encoding: UTF-8 followredirect: true links: - - https://www.yggtorrent.gg/ + - https://www2.yggtorrent.gg/ legacylinks: - https://yggtorrent.com/ - https://ww1.yggtorrent.com/ @@ -26,6 +26,7 @@ - https://www.ygg.to/ - https://ww3.yggtorrent.gg/ - https://yggtorrent.gg/ + - https://www.yggtorrent.gg/ caps: categorymappings: @@ -88,10 +89,6 @@ movie-search: [q] settings: - - name: searchanddlurl - label: Search and download URL - type: text - default: www2.yggtorrent.gg - name: username type: text label: Username @@ -156,8 +153,8 @@ search: followredirect: true paths: - - path: "https://{{ .Config.searchanddlurl }}/engine/search?category={{ .Config.category }}&name={{if .Config.enhancedAnime}}{{ re_replace .Keywords \"([\\.\\s\\[\\-])(\\d+)$\" \"$1e$2\" }}{{else}}{{ .Keywords }}{{end}}&description=&file=&uploader=&sub_category=&do=search&order=desc&sort=publish_date" - - path: "https://{{ .Config.searchanddlurl }}/engine/search?category={{ .Config.category }}&name={{if .Config.enhancedAnime}}{{ re_replace .Keywords \"([\\.\\s\\[\\-])(\\d+)$\" \"$1e$2\" }}{{else}}{{ .Keywords }}{{end}}&description=&file=&uploader=&sub_category=&do=search&order=desc&sort=publish_date&page=50" + - path: "/engine/search?category={{ .Config.category }}&name={{if .Config.enhancedAnime}}{{ re_replace .Keywords \"([\\.\\s\\[\\-])(\\d+)$\" \"$1e$2\" }}{{else}}{{ .Keywords }}{{end}}&description=&file=&uploader=&sub_category=&do=search&order=desc&sort=publish_date" + - path: "/engine/search?category={{ .Config.category }}&name={{if .Config.enhancedAnime}}{{ re_replace .Keywords \"([\\.\\s\\[\\-])(\\d+)$\" \"$1e$2\" }}{{else}}{{ .Keywords }}{{end}}&description=&file=&uploader=&sub_category=&do=search&order=desc&sort=publish_date&page=50" rows: selector: "table.table > tbody > tr" @@ -254,7 +251,7 @@ selector: "td:nth-child(1) > a[href$=\"#comments\"]" attribute: href download: - text: "https://{{ .Config.searchanddlurl }}/engine/download_torrent?id={{ .Result._id }}" + text: "/engine/download_torrent?id={{ .Result._id }}" date: selector: "td:nth-child(5)" filters: