diff --git a/src/Jackett.Common/Definitions/torrentbomb.yml b/src/Jackett.Common/Definitions/torrentbomb.yml index 4dfee0786..641f1db26 100644 --- a/src/Jackett.Common/Definitions/torrentbomb.yml +++ b/src/Jackett.Common/Definitions/torrentbomb.yml @@ -28,6 +28,7 @@ - {id: "etc", cat: Other, desc: "토렌트 기타 (Other)"} - {id: "torrent_magnet", cat: Other, desc: "토렌트 마그넷 자료실 (Magnets)"} - {id: "torrent_netflix", cat: Movies, desc: "넷플릭스 (Netflix)"} + - {id: "torrent", cat: Other, desc: "토렌트 기타 (Other)"} modes: search: [q] @@ -42,20 +43,32 @@ selector: a[href*="magnet:?xt="] attribute: href filters: - - name: querystring - args: magnet:?xt - - name: prepend - args: "magnet:?xt=" + # strip the leading magnet provider site + - name: re_replace + args: ["^(.+?\\/magnet.php\\?)(.+?)$", "$2"] search: paths: # https://torrent.vet/search.php?keyword=2020 + # 14 rows per page!?! - path: search.php + - path: search.php + inputs: + page: 2 + - path: search.php + inputs: + page: 3 + - path: search.php + inputs: + page: 4 + - path: search.php + inputs: + page: 5 inputs: - keyword: "{{ if .Keywords }}{{ .Keywords }}{{else}}2020{{end}}" + keyword: "{{ if .Keywords }}{{ .Keywords }}{{else}}{{ .Today.Year }}{{end}}" rows: - selector: section.sch_res_list > ul > li + selector: section.sch_res_list > ul > li:has(span.sch_datetime:contains(":")) fields: category: