diff --git a/definitions/v10/denofsimps-api.yml b/definitions/v10/denofsimps-api.yml new file mode 100644 index 000000000..0b6077e92 --- /dev/null +++ b/definitions/v10/denofsimps-api.yml @@ -0,0 +1,163 @@ +--- +id: denofsimps-api +name: DenOfSimps (API) +description: "DenOfSimps (DoS) is a Private Torrent Tracker for 3X Fansite content only" +language: en-US +type: private +encoding: UTF-8 +links: + - https://denofsimps.club/ + +caps: + categorymappings: + - {id: 1, cat: XXX/WEB-DL, desc: "OnlyFans"} + - {id: 2, cat: XXX/WEB-DL, desc: "Fansly"} + - {id: 3, cat: XXX/WEB-DL, desc: "ManyVids"} + - {id: 4, cat: XXX/WEB-DL, desc: "Clips4Sale"} + - {id: 5, cat: XXX/WEB-DL, desc: "JustForFans"} + - {id: 6, cat: XXX/WEB-DL, desc: "Privacy"} + - {id: 10, cat: XXX/WEB-DL, desc: "Chaturbate"} + - {id: 11, cat: XXX/WEB-DL, desc: "LoyalFans"} + - {id: 12, cat: XXX/WEB-DL, desc: "Patreon"} + - {id: 8, cat: XXX/WEB-DL, desc: "Fanvue"} + + modes: + search: [q] + +settings: + - name: apikey + type: text + label: APIKey + - name: info_key + type: info + label: About your API key + default: "Find or Generate a new API Token by accessing your DenOfSimps account My Settings page and clicking on the API Key tab." + - name: freeleech + type: checkbox + label: Search freeleech only + default: false + - name: single_file_release_use_filename + type: checkbox + label: Use filename as title for single file releases + default: true + - name: sort + type: select + label: Sort requested from site + default: created_at + options: + created_at: created + seeders: seeders + size: size + name: title + - name: type + type: select + label: Order requested from site + default: desc + options: + desc: desc + asc: asc + - name: info_activity + type: info + label: Account Inactivity + default: "Unused accounts may be pruned without warning." + +login: + path: /api/torrents + method: get + error: + - selector: a[href*="/login"] + message: + text: "The API key was not accepted by {{ .Config.sitelink }}." + +search: + paths: + # https://github.com/HDInnovations/UNIT3D-Community-Edition/wiki/Torrent-API-(UNIT3D-v8.x.x) + # https://github.com/HDInnovations/UNIT3D-Community-Edition/blob/master/app/Http/Controllers/API/TorrentController.php#L476 + - path: "/api/torrents/filter" + response: + type: json + + headers: + Authorization: ["Bearer {{ .Config.apikey }}"] + + inputs: + $raw: "{{ range .Categories }}&categories[]={{.}}{{end}}" + name: "{{ .Keywords }}" + "free[]": "{{ if .Config.freeleech }}100{{ else }}{{ end }}" + sortField: "{{ .Config.sort }}" + sortDirection: "{{ .Config.type }}" + perPage: 100 + + keywordsfilters: + - name: re_replace + args: ["\\.", " "] + + rows: + selector: data + attribute: attributes + + fields: + _id: + selector: ..id + category: + selector: category_id + title_optional: + selector: name + title_filename: + selector: "files[0].name" + optional: true + files: + selector: num_file + title: + text: "{{ if and (.Config.single_file_release_use_filename) (eq .Result.files \"1\") (.Result.title_filename) }}{{ .Result.title_filename }}{{ else }}{{ .Result.title_optional }}{{ end }}" + details: + selector: details_link + download: + selector: download_link + infohash: + selector: info_hash + poster: + text: "{{ .Config.sitelink }}files/img/torrent-cover_{{ .Result._id }}.jpg" + genre: + selector: type + description: + text: "{{ .Result.genre }}" + seeders: + selector: seeders + leechers: + selector: leechers + grabs: + selector: times_completed + date: + # "created_at": "2021-10-18T00:34:50.000000Z" is returned by Newtonsoft.Json.Linq as 18/10/2021 00:34:50 + selector: created_at + filters: + - name: append + args: " +00:00" # GMT + - name: dateparse + args: "MM/dd/yyyy HH:mm:ss zzz" + size: + selector: size + downloadvolumefactor: + # api returns 0%, 25%, 50%, 75%, 100% + selector: freeleech + case: + 0%: 1 # not free + 25%: 0.75 + 50%: 0.5 + 75%: 0.25 + 100%: 0 # freeleech + "*": 0 # catch errors + uploadvolumefactor: + # api returns False, True + selector: double_upload + case: + False: 1 # normal + True: 2 # double +# global MR is 1.0 but torrents must be seeded for 5 days regardless of ratio +# minimumratio: +# text: 1.0 + minimumseedtime: + # 5 days (as seconds = 5 x 24 x 60 x 60) + text: 432000 +# json UNIT3D 8.1.3 (custom) diff --git a/definitions/v10/hdgalaktik.yml b/definitions/v10/hdgalaktik.yml index e557a8ea4..ec1967041 100644 --- a/definitions/v10/hdgalaktik.yml +++ b/definitions/v10/hdgalaktik.yml @@ -114,7 +114,7 @@ search: args: ["[^a-zA-Z0-9]+", "%"] rows: - selector: table.embedded > tbody > tr.torcontduo + selector: table.table > tbody > tr.torcontduo fields: category: @@ -126,7 +126,7 @@ search: - name: querystring args: cat title: - selector: a.alink + selector: a.link-secondary attribute: onmouseover filters: - name: regexp @@ -189,10 +189,10 @@ search: - name: append args: "{{ if .Config.addrussiantotitle }} RUS{{ else }}{{ end }}" details: - selector: a.alink + selector: a.link-secondary attribute: href download: - selector: a.alink + selector: a.link-secondary attribute: href filters: - name: replace @@ -260,6 +260,6 @@ search: minimumratio: text: 1.0 description: - selector: a.alink + selector: a[href*="?tag="] attribute: title # engine n/a diff --git a/definitions/v10/oxtorrent-vip.yml b/definitions/v10/oxtorrent-vip.yml index a73003e96..898382321 100644 --- a/definitions/v10/oxtorrent-vip.yml +++ b/definitions/v10/oxtorrent-vip.yml @@ -10,24 +10,17 @@ type: public encoding: UTF-8 # to fetch current domain use https://www.protege-torrent.com/Oxtorrent links: - - https://www.oxtorrent.lol/ + - https://www.oxtorrent.la/ legacylinks: - https://www.protege-liens.com/ - https://www.protege-torrent.com/ - https://www.rantop.org/ - https://www.torrent.ws/ - - https://www.torrent911.biz/ - - https://www.torrent911.pw/ - - https://www.torrent911.cx/ - - https://www.torrent911.vc/ - - https://www.torrent911.bz/ - - https://www.torrent911.ac/ - https://www.oxtorrent.pm/ - https://www.torrent911.pe/ # now on poster layout - https://oxtorrent.unblockninja.com/ # proxy for torrent911 - https://torrent911.ninjaproxy1.com/ # proxy for torrent911 - https://torrent9.torrentbay.st/ # proxy for torrent911 - - https://www.t911.ws/ - https://www.t911.pw/ # now on poster layout - https://www.oxtorrent.nl/ - https://www.oxtorrent.sbs/ @@ -37,6 +30,7 @@ legacylinks: - https://oxtorrent.proxyninja.org/ # currently proxies protege-torrent page - https://www.oxtorrent.zip/ - https://www.oxtorrent.vip/ + - https://www.oxtorrent.lol/ caps: categorymappings: diff --git a/definitions/v10/rudub.yml b/definitions/v10/rudub.yml index 7e36d5757..e865ddd91 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://03july.rudub.online/ + - https://05july.rudub.online/ legacylinks: - https://rudub.online/ - - https://04june.rudub.online/ - - https://05june.rudub.online/ - https://06june.rudub.online/ - https://07june.rudub.online/ - https://08june.rudub.online/ @@ -41,6 +39,8 @@ legacylinks: - https://30june.rudub.online/ - https://01july.rudub.online/ - https://02july.rudub.online/ + - https://03july.rudub.online/ + - https://04july.rudub.online/ caps: categorymappings: diff --git a/definitions/v10/torrentqq.yml b/definitions/v10/torrentqq.yml index 210168506..071478cb9 100644 --- a/definitions/v10/torrentqq.yml +++ b/definitions/v10/torrentqq.yml @@ -7,9 +7,8 @@ type: public encoding: UTF-8 followredirect: true links: - - https://torrentqq322.com/ + - https://torrentqq323.com/ legacylinks: - - https://torrentqq307.com/ - https://torrentqq308.com/ - https://torrentqq309.com/ - https://torrentqq310.com/ @@ -24,6 +23,7 @@ legacylinks: - https://torrentqq319.com/ - https://torrentqq320.com/ - https://torrentqq321.com/ + - https://torrentqq322.com/ caps: categorymappings: diff --git a/definitions/v9/bluraytracker.yml b/definitions/v9/bluraytracker.yml index bc16e2416..b0b084feb 100644 --- a/definitions/v9/bluraytracker.yml +++ b/definitions/v9/bluraytracker.yml @@ -176,4 +176,6 @@ search: "*": 1 uploadvolumefactor: text: 1 + minimumratio: + text: 0.5 # TSUE 2.2 diff --git a/definitions/v9/leech24-api.yml b/definitions/v9/leech24-api.yml index ee1de49ca..38c67696b 100644 --- a/definitions/v9/leech24-api.yml +++ b/definitions/v9/leech24-api.yml @@ -174,6 +174,10 @@ search: case: False: 1 # normal True: 2 # double - minimumratio: - text: 1.0 +# global MR is 1.0 but torrents must be seeded for 7 days regardless of ratio +# minimumratio: +# text: 1.0 + minimumseedtime: + # 7 days (as seconds = 7 x 24 x 60 x 60) + text: 604800 # json UNIT3D 8.1.3 diff --git a/definitions/v9/oldgreektracker.yml b/definitions/v9/oldgreektracker.yml index 0d8ce0a3b..2a2411409 100644 --- a/definitions/v9/oldgreektracker.yml +++ b/definitions/v9/oldgreektracker.yml @@ -150,7 +150,7 @@ download: inputs: torrentid: "{{ .DownloadUri.Query.id }}" selectors: - - selector: a[href*="download-torrent-"] + - selector: a[href*="download.php?id="] attribute: href search: @@ -173,28 +173,28 @@ search: order: "{{ if .Config.freeleech }}asc{{ else }}{{ .Config.type }}{{ end }}" rows: - selector: "table.sortable tr:has(a[href*=\"download-torrent-\"]){{ if .Config.freeleech }}:has(img[src$=\"/freedownload.gif\"]){{ else }}{{ end }}" + selector: "table.sortable tr:has(a[href*=\"download.php?id=\"]){{ if .Config.freeleech }}:has(img[src$=\"/freedownload.gif\"]){{ else }}{{ end }}" fields: category: - selector: a[href*="torrent-category-"] + selector: a[href*="?category="] attribute: href filters: - - name: regexp - args: -(\d+)/ + - name: querystring + args: category title_default: # is usually abbreaviated - selector: a[href*="torrent-details-"] + selector: a[href*="details.php?id="] title: # while still abbreviated, is usually longer than the default selector: div.tooltip-content div optional: true default: "{{ .Result.title_default }}" details: - selector: a[href*="torrent-details-"] + selector: a[href*="details.php?id="] attribute: href download: - selector: a[href*="torrent-details-"] + selector: a[href*="details.php?id="] attribute: href magnet: selector: a[href^="magnet:?xt="]