diff --git a/src/Jackett.Common/Definitions/yggtorrent.yml b/src/Jackett.Common/Definitions/yggtorrent.yml index 47f1c7da9..b09faa090 100644 --- a/src/Jackett.Common/Definitions/yggtorrent.yml +++ b/src/Jackett.Common/Definitions/yggtorrent.yml @@ -72,6 +72,9 @@ movie-search: [q] settings: + - name: cookie + type: text + label: Cookie - name: username type: text label: Username @@ -99,7 +102,7 @@ login: path: "/" - method: post + method: cookie # temp inputs: id: "{{ .Config.username }}" pass: "{{ .Config.password }}" @@ -112,8 +115,8 @@ search: paths: - - path: "{{ if .Keywords }}/engine/search?category={{ .Config.category }}&name={{ .Keywords }}&description=&file=&uploader=&sub_category=&do=search{{else}}/top/day?category=2145{{end}}" - - path: "{{ if .Keywords }}/engine/search?category={{ .Config.category }}&name={{ .Keywords }}&description=&file=&uploader=&sub_category=&do=search&page=50{{else}}/top/day?category=2145&page=50{{end}}" + - path: "/engine/search?category={{ .Config.category }}&name={{ .Keywords }}&description=&file=&uploader=&sub_category=&do=search" + - path: "/engine/search?category={{ .Config.category }}&name={{ .Keywords }}&description=&file=&uploader=&sub_category=&do=search&page=50" rows: selector: "table.table > tbody > tr"