From 2d4d27175b776b80ab1015c5ae99f095f2e9dea0 Mon Sep 17 00:00:00 2001 From: kaso17 Date: Sun, 19 Mar 2017 15:24:57 +0100 Subject: [PATCH] HDHome: revert to old layout --- src/Jackett/Definitions/hdhome.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Jackett/Definitions/hdhome.yml b/src/Jackett/Definitions/hdhome.yml index 33e106fe2..d411aacc1 100644 --- a/src/Jackett/Definitions/hdhome.yml +++ b/src/Jackett/Definitions/hdhome.yml @@ -74,6 +74,7 @@ password: "{{ .Config.password }}" error: - selector: td.embedded:has(h2:contains("姿势不正确")) + - selector: td.embedded:has(h2:contains("失败")) test: path: /torrents.php @@ -86,11 +87,10 @@ incldead: "1" spstate: "0" inclbookmarked: "0" - search_area: "{{ if .Query.IMDBID }}5{{else}}0{{end}}" + search_area: "{{ if .Query.IMDBID }}4{{else}}0{{end}}" search_mode: "0" rows: - selector: table.torrents > tbody > tr:has(td.rowfollow) - after: "1" + selector: table.torrents > tbody > tr:has(table.torrentname) fields: title: selector: a[title][href^="details.php?id="] @@ -108,15 +108,15 @@ selector: a[href^="download.php?id="] attribute: href size: - selector: td.rowfollow:nth-child(10) - grabs: selector: td.rowfollow:nth-child(5) + grabs: + selector: td.rowfollow:nth-child(8) seeders: - selector: td.rowfollow:nth-child(3) + selector: td.rowfollow:nth-child(6) leechers: - selector: td.rowfollow:nth-child(4) + selector: td.rowfollow:nth-child(7) date: - selector: td.rowfollow:nth-child(9) > span[title] + selector: td.rowfollow:nth-child(4) > span[title] attribute: title filters: - name: append