From 0e7ce1d38d49a5e58e60346bc14ac627a8da847a Mon Sep 17 00:00:00 2001 From: kaso17 Date: Wed, 11 Jan 2017 18:59:11 +0100 Subject: [PATCH] Add Freedom-HD tracker --- README.md | 1 + src/Jackett/Definitions/freedomhd.yml | 129 ++++++++++++++++++++++++++ src/Jackett/Jackett.csproj | 3 + 3 files changed, 133 insertions(+) create mode 100644 src/Jackett/Definitions/freedomhd.yml diff --git a/README.md b/README.md index 3b8071e60..37ff50c3f 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * Ethor.net (Thor's Land) * FANO.IN * FileList + * Freedom-HD * Freshon * FunFile * FunkyTorrents diff --git a/src/Jackett/Definitions/freedomhd.yml b/src/Jackett/Definitions/freedomhd.yml new file mode 100644 index 000000000..935655fd3 --- /dev/null +++ b/src/Jackett/Definitions/freedomhd.yml @@ -0,0 +1,129 @@ +--- + site: freedomhd + name: Freedom-HD + language: fr-fr + encoding: UTF-8 + links: + - http://freedom-paradise.eu/ + + caps: + categories: + # ANIMES + 105: TV/Anime # 1080p + 104: TV/Anime # 720p + 90: TV/Anime # HDRIP-720p + 93: TV/Anime # HDRIP1080p + 131: TV/Anime # SD + 120: TV/Anime # X265-1080p + 119: TV/Anime # X265-720p + 107: TV/Anime # 1080p + 106: TV/Anime # 720p + 94: TV/Anime # HDRIP1080p + 91: TV/Anime # HDRIP720p + + # EBOOK + 124: Books # Livres et Magazines + + # FILMS + 97: Movies/HD # 1080p + 103: Movies/3D # 3D + 111: Movies/HD # 4K + 96: Movies/HD # 720p + 127: Movies/HD # BDrip + 128: Movies/HD # BRrip + 126: Movies/SD # DVDrip + 89: Movies/HD # HDRIP-720p + 92: Movies/HD # HDRIP1080p + 112: Movies/SD # Team-Hush + 129: Movies/HD # Team-Romkent + 125: Movies/Other # WEBrip + 110: Movies/HD # X265-1080p + 109: Movies/HD # X265-720p + + # MUSIQUES + 114: Audio/Lossless # Flac + 113: Audio/MP3 # MP3 + 132: Audio # Musiques-HQ + 130: Audio/Video # video clip + + # SERIE-sd + 121: TV/SD # SD + + # SERIES-HD + 102: TV/HD # 1080p + 101: TV/HD # 720p + 100: TV/HD # HDrip1080p + 99: TV/HD # HDrip720p + + # SPECTACLES + 118: TV/Sport # HDRIP1080p + 117: TV/Sport # HDRIP720p + + modes: + search: [q] + tv-search: [q, season, ep] + + login: + path: account-login.php + method: post + inputs: + username: "{{ .Config.username }}" + password: "{{ .Config.password }}" + remember: "yes" + returnto: "/" + error: + - selector: div.myFrame:has(font.error) + test: + path: torrents-search.php + + search: + path: torrents-search.php + inputs: + $raw: "{{range .Categories}}c{{.}}=1&{{end}}" + search: "{{ .Query.Keywords }}" + incldead: "1" + + rows: + selector: table.ttable_headinner > tbody > tr[class^="t-row"] + filters: + - name: andmatch + after: 1 + fields: + download: + selector: a[href^="torrents-details.php?id="] + attribute: href + filters: + - name: replace + args: ["torrents-details.php", "download.php"] + title: + selector: a[href^="torrents-details.php?id="] + attribute: title + category: + selector: a[href^="torrents.php?cat="] + attribute: href + filters: + - name: querystring + args: cat + details: + selector: a[href^="torrents-details.php?id="] + attribute: href + description: + selector: ul + banner: + selector: img.rounded-img + attribute: src + size: + selector: td:nth-child(3) + grabs: + selector: td:nth-child(6) + seeders: + selector: td:nth-child(4) + leechers: + selector: td:nth-child(5) + downloadvolumefactor: + case: + img[alt="freeleech"]: "0" + "*": "1" + uploadvolumefactor: + case: + "*": "1" \ No newline at end of file diff --git a/src/Jackett/Jackett.csproj b/src/Jackett/Jackett.csproj index 5713707b0..4571311e4 100644 --- a/src/Jackett/Jackett.csproj +++ b/src/Jackett/Jackett.csproj @@ -507,6 +507,9 @@ PreserveNewest + + PreserveNewest + Designer