diff --git a/definitions/v10/rudub.yml b/definitions/v10/rudub.yml index 07a2856f8..90ba1cfe8 100644 --- a/definitions/v10/rudub.yml +++ b/definitions/v10/rudub.yml @@ -9,10 +9,9 @@ type: semi-private encoding: windows-1251 followredirect: true links: - - https://13september.rudub.online/ + - https://14september.rudub.online/ legacylinks: - https://rudub.online/ - - https://14august.rudub.online/ - https://15august.rudub.online/ - https://16august.rudub.online/ - https://17august.rudub.online/ @@ -42,6 +41,7 @@ legacylinks: - https://10september.rudub.online/ - https://11september.rudub.online/ - https://12september.rudub.online/ + - https://13september.rudub.online/ caps: categorymappings: diff --git a/definitions/v11/xperiencebytes-api.yml b/definitions/v11/xperiencebytes-api.yml new file mode 100644 index 000000000..13729930c --- /dev/null +++ b/definitions/v11/xperiencebytes-api.yml @@ -0,0 +1,152 @@ +--- +id: xperiencebytes-api +name: XperienceBytes (API) +description: "XperienceBytes (XPB) is a BRAZILIAN Private site for ANIME" +language: pt-BR +type: private +encoding: UTF-8 +links: + - https://xperiencebytes.me/ + +caps: + categorymappings: + - {id: 6, cat: Movies, desc: "Tipo Filme"} + - {id: 7, cat: TV, desc: "Tipo Série"} + + modes: + search: [q] + tv-search: [q, season, ep, imdbid, tvdbid, tmdbid] + movie-search: [q, imdbid, tmdbid] + +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 XPB account My Security page and clicking on the API Token tab." + - name: freeleech + type: checkbox + label: Search freeleech only + default: false + - 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: "After 3 months without any log in or usage of your account, it will be pruned and can only be reactivated by a staff member. Make sure to keep your account active and do not use programs to keep your account active, as your account may still get pruned." + +login: + path: /api/torrents + method: get + error: + - selector: a[href*="/login"] + message: + text: "The API key was not accepted by {{ .Config.sitelink }}." + - selector: :root:contains("Account is Banned") + +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: + # if we have an id based search, add Season and Episode as query in name for UNIT3D < v6. Else pass S/E Params for UNIT3D >= v6 + $raw: "{{ range .Categories }}&categories[]={{.}}{{end}}" + name: "{{ .Keywords }}" + seasonNumber: "{{ .Query.Season }}" + episodeNumber: "{{ .Query.Ep }}" + imdbId: "{{ .Query.IMDBIDShort }}" + tmdbId: "{{ .Query.TMDBID }}" + tvdbId: "{{ .Query.TVDBID }}" + free: "{{ if .Config.freeleech }}1{{ else }}{{ end }}" + sortField: "{{ .Config.sort }}" + sortDirection: "{{ .Config.type }}" + perPage: 100 + + keywordsfilters: + - name: re_replace + args: ["\\.", " "] + + rows: + selector: data + attribute: attributes + + fields: + categorydesc: + selector: category + title: + selector: name + details: + selector: details_link + download: + selector: download_link + poster: + selector: poster + filters: + - name: replace + args: ["https://via.placeholder.com/90x135", ""] + imdbid: + selector: imdb_id + tmdbid: + selector: tmdb_id + tvdbid: + selector: tvdb_id + files: + selector: num_file + 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 0=false, 1=true + selector: double_upload + case: + 0: 1 # normal + 1: 2 # double + minimumratio: + text: 1.0 +# json UNIT3D 6.0.0 diff --git a/definitions/v11/zetorrents.yml b/definitions/v11/zetorrents.yml index 6a00ce7e4..08b0ddc77 100644 --- a/definitions/v11/zetorrents.yml +++ b/definitions/v11/zetorrents.yml @@ -7,7 +7,7 @@ type: public encoding: UTF-8 # to fetch current domain use https://www.protege-torrent.com/Zetorrents links: - - https://www.zetorrents.in/ + - https://www.zetorrents.vg/ legacylinks: # latest domains list - https://www.protege-torrent.com/ @@ -28,6 +28,7 @@ legacylinks: - https://zetorrents.nocensor.cloud/ - https://www.zetorrents.pw/ - https://www.zetorrents.tw/ + - https://www.zetorrents.in/ caps: categories: diff --git a/definitions/v9/les-cinephiles.yml b/definitions/v9/les-cinephiles.yml deleted file mode 100644 index 9d9f0b55f..000000000 --- a/definitions/v9/les-cinephiles.yml +++ /dev/null @@ -1,278 +0,0 @@ ---- -id: les-cinephiles -name: Les-Cinephiles -description: "Les-Cinephiles is a FRENCH Private Torrent Tracker for MOVIES / TV / GENERAL" -language: fr-FR -type: private -encoding: UTF-8 -links: - - https://les-cinephiles.nl/ - -caps: - categorymappings: - - {id: 2, cat: TV/Anime, desc: "Animations: 4K"} - - {id: 3, cat: TV/Anime, desc: "Animations: 4K Light"} - - {id: 4, cat: TV/Anime, desc: "Animations: BDRIP"} - - {id: 5, cat: TV/Anime, desc: "Animations: BRRIP"} - - {id: 6, cat: TV/Anime, desc: "Animations: BluRay-R"} - - {id: 8, cat: TV/Anime, desc: "Animations: DVD-R"} - - {id: 9, cat: TV/Anime, desc: "Animations: DVDRIP"} - - {id: 165, cat: TV/Anime, desc: "Animations: JAP"} - - {id: 11, cat: TV/Anime, desc: "Animations: HD 1080P"} - - {id: 12, cat: TV/Anime, desc: "Animations: HD 720p"} - - {id: 13, cat: TV/Anime, desc: "Animations: HDRIP"} - - {id: 14, cat: TV/Anime, desc: "Animations: REMUX"} - - {id: 15, cat: TV/Anime, desc: "Animations: TVRIP"} - - {id: 16, cat: TV/Anime, desc: "Animations: WEBRIP"} - - {id: 17, cat: TV/Anime, desc: "Animations: WEB-DL"} - - {id: 73, cat: Books, desc: "Ebook: BD"} - - {id: 74, cat: Books, desc: "Ebook: ENFANTS"} - - {id: 75, cat: Books/Comics, desc: "Ebook: MANGAS"} - - {id: 76, cat: Books, desc: "Ebook: ROMANS"} - - {id: 167, cat: Audio/Audiobook, desc: "Ebook: AUDIO"} - - {id: 168, cat: Books/Mags, desc: "Ebook: MAGAZINE"} - - {id: 24, cat: Movies, desc: "Film: DOC.UNIVERS"} - - {id: 20, cat: Movies, desc: "Film: DOC.DECOUVERTES"} - - {id: 23, cat: Movies, desc: "Film: DOC.SPORT"} - - {id: 18, cat: Movies, desc: "Film: DOC.ANIMAUX"} - - {id: 19, cat: Movies, desc: "Film: DOC.ANTIQUE"} - - {id: 21, cat: Movies, desc: "Film: DOC.DIVERS"} - - {id: 22, cat: Movies, desc: "Film: DOC.HISTOIRE"} - - {id: 164, cat: Movies, desc: "Film: EMISSION.TV"} - - {id: 198, cat: Movies, desc: "Film: DOC.SPECTACLE"} - - {id: 25, cat: Movies/3D, desc: "Film: 3D"} - - {id: 26, cat: Movies/UHD, desc: "Film: 4K"} - - {id: 27, cat: Movies/UHD, desc: "Film: 4K Light"} - - {id: 169, cat: Movies, desc: "Film: AV1"} - - {id: 28, cat: Movies/BluRay, desc: "Film: BDRIP"} - - {id: 29, cat: Movies/BluRay, desc: "Film: BRRIP"} - - {id: 30, cat: Movies/BluRay, desc: "Film: BluRay-R"} - - {id: 31, cat: Movies, desc: "Film: Coffret"} - - {id: 32, cat: Movies/DVD, desc: "Film: DVD-R"} - - {id: 33, cat: Movies/DVD, desc: "Film: DVDRIP"} - - {id: 36, cat: Movies/HD, desc: "Film: HD 720p"} - - {id: 35, cat: Movies/HD, desc: "Film: HD 1080P"} - - {id: 37, cat: Movies/HD, desc: "Film: HDRIP"} - - {id: 170, cat: Movies/HD, desc: "Film: HDTV"} - - {id: 172, cat: Movies/HD, desc: "Film: M-HD"} - - {id: 38, cat: Movies, desc: "Film: REMUX"} - - {id: 39, cat: Movies, desc: "Film: TVRIP"} - - {id: 41, cat: Movies/WEB-DL, desc: "Film: WEB-DL"} - - {id: 200, cat: Movies/WEB-DL, desc: "Film: WEB-RIP"} - - {id: 184, cat: Movies/BluRay, desc: "Film: VOSTFR bdrip"} - - {id: 185, cat: Movies/DVD, desc: "Film: VOSTFR.DVDrip"} - - {id: 186, cat: Movies/WEB-DL, desc: "Film: VOSTFR.WEBrip"} - - {id: 202, cat: Movies/WEB-DL, desc: "Film: VOSTFR-WebDL"} - - {id: 203, cat: Movies/BluRay, desc: "Film: VOSTFR-bluray"} - - {id: 59, cat: Console/3DS, desc: "Jeux: 3DS-DS"} - - {id: 60, cat: Console/Other, desc: "Jeux: ANDROID"} - - {id: 61, cat: Console/Other, desc: "Jeux: IOS-X"} - - {id: 62, cat: PC/Games, desc: "Jeux: PC"} - - {id: 63, cat: Console/PS4, desc: "Jeux: PS3-4"} - - {id: 64, cat: Console/PSP, desc: "Jeux: PSP-X"} - - {id: 65, cat: Console/WiiU, desc: "Jeux: WII-U"} - - {id: 66, cat: Console/Wii, desc: "Jeux: WII"} - - {id: 67, cat: Console/XBox, desc: "Jeux: XBOX"} - - {id: 68, cat: PC/Mobile-Android, desc: "Logiciel: ANDROID"} - - {id: 69, cat: PC/Mac, desc: "Logiciel: APPLE"} - - {id: 70, cat: PC/Mobile-iOS, desc: "Logiciel: IPHONE"} - - {id: 71, cat: PC/Mobile-Other, desc: "Logiciel: LINUX"} - - {id: 72, cat: PC/0day, desc: "Logiciel: WINDOWS"} - - {id: 7, cat: TV/Anime, desc: "Serie: Coffret-Anime"} - - {id: 197, cat: TV, desc: "Serie: EPISODE"} - - {id: 182, cat: TV/Anime, desc: "Serie: JAP-ANIM"} - - {id: 166, cat: TV/Documentary, desc: "Serie: SERIE Docu"} - - {id: 194, cat: TV/Documentary, desc: "Serie: DOCU.DIVERS"} - - {id: 195, cat: TV/Documentary, desc: "Serie: DOCU.EMISTV"} - - {id: 173, cat: TV/UHD, desc: "Serie: 4K"} - - {id: 174, cat: TV/UHD, desc: "Serie: 4k-lLIGHT"} - - {id: 85, cat: TV, desc: "Serie: Coffret"} - - {id: 86, cat: TV, desc: "Serie: DVD-R"} - - {id: 87, cat: TV, desc: "Serie : DVDRIP"} - - {id: 88, cat: TV/HD, desc: "Serie : HD 1080P"} - - {id: 89, cat: TV/HD, desc: "Serie: HD 720p"} - - {id: 90, cat: TV/HD, desc: "Serie: HDRIP"} - - {id: 175, cat: TV/HD, desc: "Serie: HDTV 720"} - - {id: 176, cat: TV/HD, desc: "Serie: HDTV 1080"} - - {id: 177, cat: TV/HD, desc: "Serie: M-HD"} - - {id: 91, cat: TV, desc: "Serie: REMUX"} - - {id: 92, cat: TV, desc: "Serie: TVRIP"} - - {id: 93, cat: TV/WEB-DL, desc: "Serie: WEBRIP"} - - {id: 178, cat: TV/WEB-DL, desc: "Serie: WEB-DL 720"} - - {id: 179, cat: TV/WEB-DL, desc: "Serie: WEB-DL 1080"} - - {id: 199, cat: TV/WEB-DL, desc: "Serie: WebDL"} - - {id: 188, cat: TV, desc: "Serie: VOSTFR.BDrip"} - - {id: 189, cat: TV, desc: "Serie: VOSTFR.DVDrip"} - - {id: 190, cat: TV/HD, desc: "Serie: VOSTFR.HDRIP"} - - {id: 191, cat: TV/WEB-DL, desc: "Serie: VOSTFR.WEBrip"} - - {id: 192, cat: TV/WEB-DL, desc: "Serie: VOSTFR.WEB-DL"} - - {id: 180, cat: TV, desc: "Serie: VOSTFR.COFFRET"} - - modes: - search: [q] - tv-search: [q, season, ep] - movie-search: [q] - book-search: [q] - -settings: - - name: username - type: text - label: Username - - name: password - type: password - label: Password - - name: freeleech - type: checkbox - label: Search freeleech only - default: false - - name: multilang - type: checkbox - label: Replace MULTi by another language in release name - default: false - - name: multilanguage - type: select - label: Replace MULTi by this language - default: FRENCH - options: - FRENCH: FRENCH - MULTi.FRENCH: MULTi.FRENCH - ENGLISH: ENGLISH - MULTi.ENGLISH: MULTi.ENGLISH - VOSTFR: VOSTFR - MULTi.VOSTFR: MULTi.VOSTFR - - name: vostfr - type: checkbox - label: Replace VOSTFR and SUBFRENCH with ENGLISH - default: false - - name: sort - type: select - label: Sort requested from site - default: id - options: - id: created - name: title - size: size - seeders: seeders - - name: type - type: select - label: Order requested from site - default: desc - options: - desc: desc - asc: asc - -login: - path: account-login.php - method: post - inputs: - username: "{{ .Config.username }}" - password: "{{ .Config.password }}" - remember: yes - error: - - selector: div.myFrame:contains("ACCESS_DENIED") - test: - path: index.php - selector: a[href="account-logout.php"] - -download: - before: - path: list_thanks.php - inputs: - id: "{{ .DownloadUri.Query.id }}" - to: give - torrent: "{{ .DownloadUri.Query.id }}" - selectors: - - selector: a[href^="download.php?id="] - attribute: href - -search: - paths: - - path: torrents-search.php - inputs: - $raw: "{{ range .Categories }}c{{.}}=1&{{end}}" - # 0 active, 1 incldead, 2 onlydead - incldead: 1 - # 0 all, 1 English, 2 French, 3 German, 4 Italian, 5 Japanese, 6 Spanish, 7 Russian, 8 multilang - lang: 0 - # 0 all 1 notfree 2 onlyfree - freeleech: "{{ if .Config.freeleech }}2{{ else }}0{{ end }}" - # 0 both, 1 local, 2 external - inclexternal: 0 - search: "{{ .Keywords }}" - sort: "{{ .Config.sort }}" - order: "{{ .Config.type }}" - # does not support imdbid search or return imdb link - - keywordsfilters: - - name: re_replace - args: ["(\\w+)", " +$1"] # prepend + to each word - - rows: - selector: table[class="ttable_headinner"] tr.rowners - - fields: - category: - selector: td:first-child - attribute: torrents.php?cat - filters: - - name: regexp - args: (\d+) - title_phase1: - selector: a[href^="torrents-details.php?id="] - title_vostfr: - text: "{{ .Result.title_phase1 }}" - filters: - - name: re_replace - args: ["(?i)\\b(vostfr|subfrench)\\b", "ENGLISH"] - title_phase2: - text: "{{ if .Config.vostfr }}{{ .Result.title_vostfr }}{{ else }}{{ .Result.title_phase1 }}{{ end }}" - title_multilang: - text: "{{ .Result.title_phase2 }}" - filters: - - name: re_replace - args: ["(?i)\\b(MULTI(?!.*(?:FRENCH|ENGLISH|VOSTFR)))\\b", "{{ .Config.multilanguage }}"] - title: - text: "{{ if .Config.multilang }}{{ .Result.title_multilang }}{{ else }}{{ .Result.title_phase2 }}{{ end }}" - details: - selector: a[href^="torrents-details.php?id="] - attribute: href - download: - selector: a[href^="torrents-details.php?id="] - attribute: href - filters: - - name: replace - args: ["&hit=1", ""] # avoid redirect - poster: - selector: a[onMouseover] - attribute: onMouseover - filters: - - name: regexp - args: src=(.+?)> - date: - selector: a[onMouseover] - attribute: onMouseover - # auto adjusted by site account profile - filters: - - name: regexp - args: "(\\d{2}-\\d{2}-\\d{4})" - - name: dateparse - args: "dd-MM-yyyy" - size: - selector: td:nth-last-child(5) - seeders: - selector: td:nth-last-child(4) - leechers: - selector: td:nth-last-child(3) - grabs: - selector: td:nth-last-child(2) - downloadvolumefactor: - case: - ":root:has(ul#root > font:contains(\"FreeLeech : ON\"))": 0 # GLobal Freeleech event - img[src="img/freeleech_star.gif"]: 0 - "*": 1 - uploadvolumefactor: - text: 1 - minimumseedtime: - # 1 day (as seconds = 24 x 60 x 60) - text: 86400 -# TorrentTrader 2.08