--- id: pirateiro name: Pirateiro description: "Pirateiro is a Public site for MOVIES / TV / GENERAL" language: en-us type: public encoding: UTF-8 followredirect: true links: - https://pirateiro.com/ - https://pirateiro.eu/ - https://pirateiro.unblockit.lat/ legacylinks: - http://pirateiro.com/ - https://pirateiro.unblockit.pro/ - https://pirateiro.unblockit.one/ - https://pirateiro.unblockit.me/ - https://pirateiro.unblockit.pw/ - https://pirateiro.unblockit.id/ - https://pirateiro.unblockit.win/ - https://pirateiro.unblockit.top/ caps: categories: "cat100": TV/Anime "cat200": PC "cat300": Movies "cat400": Console "cat500": Audio "cat600": Other "cat700": TV "cat800": XXX modes: search: [q] tv-search: [q, season, ep] movie-search: [q] music-search: [q] settings: - name: sort type: select label: Sort requested from site default: "enviado" options: "enviado": "created" "seeders": "seeders" "tamanho": "size" search: paths: - path: torrents/ inputs: search: "{{ .Keywords }}" orderby: "{{ .Config.sort }}" rows: selector: table.torrenttable tbody tr:has(a[href^="magnet:?xt="]) fields: category: selector: td:nth-child(1) a attribute: class filters: # extract the first class - name: split args: [" ", 0] title: selector: td:nth-child(1) a:nth-child(2) details: selector: td:nth-child(1) a:nth-child(2) attribute: href download: # .torrent urls can be missing optional: true selector: a[href$="/download"] attribute: href magnet: selector: a[href^="magnet:?xt="] attribute: href date: selector: td:nth-child(3) span attribute: title filters: - name: append args: " +01:00" - name: dateparse args: "02/01/2006 15:04:05 -07:00" size: selector: td:nth-child(4) seeders: selector: td:nth-child(5) filters: - name: replace args: [" ", ""] leechers: selector: td:nth-child(6) filters: - name: replace args: [" ", ""] downloadvolumefactor: text: 0 uploadvolumefactor: text: 1 # engine n/a