--- site: torrentdownloads name: Torrent Downloads description: "Torrent Downloads (TD) is a Public torrent site for all kinds of content" language: en-us type: public encoding: UTF-8 links: - https://www.torrentdownloads.me/ caps: categorymappings: - {id: 8, cat: TV, desc: "TV Shows"} - {id: 4, cat: Movies, desc: "Movies"} - {id: 5, cat: Audio, desc: "Music"} - {id: 3, cat: PC/Games, desc: "Games"} - {id: 7, cat: PC, desc: "Software"} - {id: 1, cat: TV/Anime, desc: "Anime"} - {id: 2, cat: Books, desc: "Books"} - {id: 9, cat: Other, desc: "Other"} modes: search: [q] settings: [] download: selector: a[href^="magnet:"] search: paths: - path: "{{if .Keywords}}/search/{{else}}/today/{{end}}" inputs: $raw: "new=1&{{range .Categories}}s_cat={{.}}&{{end}}" search: "{{ .Query.Keywords }}" rows: selector: div.inner_container > div:has(p:has(a[href^="/torrent/"])) fields: title: selector: p:nth-child(1) > a details: selector: p:nth-child(1) > a[href^="/torrent/"] attribute: href download: selector: p:nth-child(1) > a[href^="/torrent/"] attribute: href date: text: now size: selector: span:nth-child(5) seeders: selector: span:nth-child(4) leechers: selector: span:nth-child(3) category: selector: img[src^="/templates/new/images/icons/menu_icon"] attribute: src filters: - name: regexp args: ([\d,]+) downloadvolumefactor: text: "1" uploadvolumefactor: text: "1"