diff --git a/README.md b/README.md index 9e27ef75c..c6ed8ad40 100644 --- a/README.md +++ b/README.md @@ -133,7 +133,6 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht * TorrentSir (토렌트썰) * TorrentView (토렌트뷰) * TorrentWhiz (토렌트위즈) - * Torrentz2eu * Torrentz2nz * TrahT * truPornolabs diff --git a/src/Jackett.Common/Definitions/torrentz2eu.yml b/src/Jackett.Common/Definitions/torrentz2eu.yml deleted file mode 100644 index 342b0a3d7..000000000 --- a/src/Jackett.Common/Definitions/torrentz2eu.yml +++ /dev/null @@ -1,157 +0,0 @@ ---- -id: torrentz2eu -name: Torrentz2eu -description: "Torrentz2eu is a Public torrent meta-search engine" -language: en-US -type: public -encoding: UTF-8 -requestDelay: 2 -links: - - https://torrentz2beta.in/ -legacylinks: - - https://torrentz2.org.in/ - - https://torrentzeu.org/ - - https://torrentz2.club/ - - https://torrentz2eu.in/ - - https://torrentz2.pics/ - - https://2torrentz2eu.in/ - - https://torrentz2.unblockninja.com/ - - hhttps://torrentz2beta.com/ - - https://torrentz2beta.com/ - - https://eu.torrentz2beta.in/ - - https://www.torrentz2beta.com/ - - https://torrentz2beta.asia/ - - https://www.torrentz2beta.pro/ - - https://torrentz2beta.online/ - -caps: - categorymappings: - - {id: "Applications(Android)", cat: PC/Mobile-Android, desc: "Applications(Android)"} - - {id: "Applications(IOS (iPad/iPhone))", cat: PC/Mobile-iOS, desc: "Applications(IOS (iPad/iPhone))"} - - {id: "Applications(Mac)", cat: PC/Mac, desc: "Applications(Mac)"} - - {id: "Applications(UNIX)", cat: PC/ISO, desc: "Applications(UNIX)"} - - {id: "Applications(Windows)", cat: PC/0day, desc: "Applications(Windows)"} - - {id: "Audio(Audio books)", cat: Audio/Audiobook, desc: "Audio(Audio books)"} - - {id: "Audio(FLAC)", cat: Audio/Lossless, desc: "Audio(FLAC)"} - - {id: "Audio(Music)", cat: Audio/MP3, desc: "Audio(Music)"} - - {id: "Audio(Other)", cat: Audio/Other, desc: "Audio(Other)"} - - {id: "Games(Android)", cat: PC/Mobile-Android, desc: "Games(Android)"} - - {id: "Games(Handheld)", cat: Console/Other, desc: "Games(Handheld)"} - - {id: "Games(Mac)", cat: PC/Mac, desc: "Games(Mac)"} - - {id: "Games(Other)", cat: Console/Other, desc: "Games(Other)"} - - {id: "Games(PC)", cat: PC/Games, desc: "Games(PC)"} - - {id: "Games(PSx)", cat: Console/PS3, desc: "Games(PSx)"} - - {id: "Games(Wii)", cat: Console/Wii, desc: "Games(Wii)"} - - {id: "Games(XBOX360)", cat: Console/XBox 360, desc: "Games(XBOX360)"} - - {id: "Other(Comics)", cat: Books/Comics, desc: "Other(Comics)"} - - {id: "Other(E-books)", cat: Books/EBook, desc: "Other(E-books)"} - - {id: "Other(Other)", cat: Other/Misc, desc: "Other(Other)"} - - {id: "Other(Pictures)", cat: Other, desc: "Other"} - - {id: "Porn(HD - Movies)", cat: XXX/x264, desc: "Porn(HD - Movies)"} - - {id: "Porn(Movie clips)", cat: XXX/WEB-DL, desc: "Porn(Movie clips)"} - - {id: "Porn(Movies)", cat: XXX, desc: "Porn(Movies)"} - - {id: "Porn(Other)", cat: XXX/Other, desc: "Porn(Other)"} - - {id: "Porn(Pictures)", cat: XXX/ImageSet, desc: "Porn(Pictures)"} - - {id: "Video()", cat: Movies, desc: "Movies"} - - {id: "Video(3D)", cat: Movies/3D, desc: "Movies(3D)"} - - {id: "Video(HD - Movies)", cat: Movies/HD, desc: "Movies(HD)"} - - {id: "Video(HD - TV shows)", cat: TV/HD, desc: "TV(HD)"} - - {id: "Video(Movies DVDR)", cat: Movies/DVD, desc: "Movies(DVDR)"} - - {id: "Video(Movies)", cat: Movies, desc: "Movies"} - - {id: "Video(Music videos)", cat: Audio/Video, desc: "Video(Music videos)"} - - {id: "Video(Other)", cat: Other, desc: "Video(Other)"} - - {id: "Video(TV shows)", cat: TV, desc: "TV"} - - modes: - search: [q] - tv-search: [q, season, ep] - movie-search: [q] - music-search: [q] - book-search: [q] - -settings: [] - -search: - paths: - # https://torrentz2beta.in/search.php?q=+ - - path: search.php - - path: search.php - inputs: - page: 2 - inputs: - q: "{{ if .Keywords }}{{ .Keywords }}{{ else }}+{{ end }}" - keywordsfilters: - - name: re_replace - args: ["(\\w+)", "+$1"] # prepend + to each word - - rows: - selector: table.table-responsive > tbody > tr - fields: - title: - selector: td[data-title="Name"] - category_provided: - selector: td[data-title="Category"] - category_is_tv_show: - text: "{{ .Result.title }}" - filters: - - name: regexp - args: "\\b(S\\d+(?:E\\d+)?)\\b" - category: - # some tv have category as video() which can also be movies, so we look for the SxxExx to tag TV - text: "{{ if .Result.category_is_tv_show }}Video(TV shows){{ else }}{{ .Result.category_provided }}{{ end }}" - details: - text: / - download: - selector: a[href^="magnet:?"] - attribute: href - seeders: - text: 1 - leechers: - text: 1 - size: - selector: td[data-title="Description"] - filters: - - name: regexp - args: Size (.+?), - date_year: - # 01-04 2021 - selector: td[data-title="Description"]:not(:contains(":")) - optional: true - filters: - - name: regexp - args: Uploaded (\d{2}-\d{2}.\d{4}) - - name: replace - args: ["\xA0", " "] - - name: dateparse - args: "MM-dd yyyy" - date_time: - # 08-25 20:12 - selector: td[data-title="Description"]:contains(":"):not(:contains("day")) - optional: true - filters: - - name: regexp - args: Uploaded (\d{2}-\d{2}.\d{2}:\d{2}) - - name: replace - args: ["\xA0", " "] - - name: dateparse - args: "MM-dd HH:mm" - date_day: - # Y-day 16:23 - # Today 13:31 - selector: td[data-title="Description"]:contains("day") - optional: true - filters: - - name: regexp - args: Uploaded.(.+?), - - name: replace - args: ["\xA0", " "] - - name: replace - args: ["Y-day", "Yesterday"] - - name: fuzzytime - date: - text: "{{ if or .Result.date_year .Result.date_time .Result.date_day }}{{ or .Result.date_year .Result.date_time .Result.date_day }}{{ else }}now{{ end }}" - downloadvolumefactor: - text: 0 - uploadvolumefactor: - text: 1 -# engine n/a diff --git a/src/Jackett.Updater/Program.cs b/src/Jackett.Updater/Program.cs index 9b7284579..4963ef190 100644 --- a/src/Jackett.Updater/Program.cs +++ b/src/Jackett.Updater/Program.cs @@ -646,6 +646,7 @@ namespace Jackett.Updater "Definitions/torrentwal.yml", "Definitions/torrentwtf.yml", "Definitions/torrentz2.yml", + "Definitions/torrentz2eu.yml", "Definitions/torrentz2k.yml", "Definitions/torrof.yml", "Definitions/torviet.yml",