diff --git a/definitions/v10/okpt.yml b/definitions/v10/okpt.yml index 48d8f2ac1..c7924f90e 100644 --- a/definitions/v10/okpt.yml +++ b/definitions/v10/okpt.yml @@ -104,7 +104,7 @@ search: notnewword: 1 rows: - selector: table.torrents > tbody > tr:has(table.torrentname) + selector: table.torrents > tbody > tr:has(a[href^="download.php?id="]) fields: category: diff --git a/definitions/v10/rudub.yml b/definitions/v10/rudub.yml index 817813d55..7918ab2fa 100644 --- a/definitions/v10/rudub.yml +++ b/definitions/v10/rudub.yml @@ -9,11 +9,9 @@ type: semi-private encoding: windows-1251 followredirect: true links: - - https://27july.rudub.online/ + - https://29july.rudub.online/ legacylinks: - https://rudub.online/ - - https://28june.rudub.online/ - - https://29june.rudub.online/ - https://30june.rudub.online/ - https://01july.rudub.online/ - https://02july.rudub.online/ @@ -41,6 +39,8 @@ legacylinks: - https://24july.rudub.online/ - https://25july.rudub.online/ - https://26july.rudub.online/ + - https://27july.rudub.online/ + - https://28july.rudub.online/ caps: categorymappings: diff --git a/definitions/v11/badasstorrents.yml b/definitions/v11/badasstorrents.yml new file mode 100644 index 000000000..9486343cf --- /dev/null +++ b/definitions/v11/badasstorrents.yml @@ -0,0 +1,106 @@ +--- +id: badasstorrents +name: Badass Torrents +description: "Badass Torrents is a Public torrent site for MOVIES / TV / GENERAL" +language: en-US +type: public +encoding: UTF-8 +requestDelay: 5 +links: + - https://badasstorrents.com/ +legacylinks: + - https://badasstorrents.mrunblock.bond/ + - https://badasstorrents.nocensor.cloud/ + +caps: + categories: + Anime: TV/Anime + Apps: PC + Books: Books + Games: PC/Games + Movies: Movies + Music: Audio + Other: Other + TV: TV + XXX: XXX + + modes: + search: [q] + tv-search: [q, season, ep] + movie-search: [q] + music-search: [q, album, artist] + book-search: [q] + +settings: + - name: info_flaresolverr + type: info_flaresolverr + - name: downloadlink + type: select + label: Download link + default: "magnet:?xt=" + options: + "/d/": ".torrent" + "magnet:?xt=": "magnet" + - name: downloadlink2 + type: select + label: Download link (fallback) + default: "/d/" + options: + "/d/": ".torrent" + "magnet:?xt=": "magnet" + - name: info_download + type: info + label: About the Download links + default: You can optionally set as a fallback an automatic alternate link, so if the .torrent download link fails your download will still be successful. + +download: + selectors: + - selector: a[href*="{{ .Config.downloadlink }}"] + attribute: href + - selector: a[href*="{{ .Config.downloadlink2 }}"] + attribute: href + +search: + paths: + # search has 10 torrents per page, latest has 100 torrents per page. + - path: "{{ if .Keywords }}s/{{ .Keywords }}{{ else }}latest.html{{ end }}" + - path: "{{ if .Keywords }}s/{{ .Keywords }}&page=10{{ else }}{{ end }}" + keywordsfilters: + - name: re_replace + args: ["[\\s]+", "-"] + - name: tolower + + rows: + selector: table.table-hover > tbody > tr + filters: + - name: andmatch + + fields: + category: + selector: a[href^="/c/"] + title: + selector: a[href*="/v/"] + details: + selector: a[href*="/v/"] + attribute: href + download: + selector: a[href*="/v/"] + attribute: href + date: + selector: td:nth-child(3) + filters: + - name: append + args: " +00:00" # GMT + - name: dateparse + args: "yyyy-MM-dd HH:mm:ss zzz" + size: + selector: td:nth-child(4) + seeders: + selector: td:nth-child(5) + leechers: + selector: td:nth-child(6) + downloadvolumefactor: + text: 0 + uploadvolumefactor: + text: 1 +# engine n/a diff --git a/definitions/v9/yoinked.yml b/definitions/v9/yoinked.yml index 3396e8a8c..f5e71768c 100644 --- a/definitions/v9/yoinked.yml +++ b/definitions/v9/yoinked.yml @@ -13,7 +13,6 @@ caps: - {id: 3, cat: Audio, desc: "Music"} - {id: 1, cat: Movies, desc: "Movies"} - {id: 2, cat: TV, desc: "TV"} - - {id: 4, cat: Console, desc: "Game"} modes: search: [q]