diff --git a/README.md b/README.md index 12d4b93e6..2680ae56f 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/ * BIT-HDTV * BitMeTV * BitSoup + * Blu-bits * BTN * CinemaZ * DanishBits diff --git a/src/Jackett/Content/logos/blubits.png b/src/Jackett/Content/logos/blubits.png new file mode 100644 index 000000000..f32d6cc76 Binary files /dev/null and b/src/Jackett/Content/logos/blubits.png differ diff --git a/src/Jackett/Definitions/blubits.yml b/src/Jackett/Definitions/blubits.yml new file mode 100644 index 000000000..c4af15135 --- /dev/null +++ b/src/Jackett/Definitions/blubits.yml @@ -0,0 +1,146 @@ +--- + site: blubits + name: Blu-bits + description: "A HD tracker" + language: en-us + links: + - https://blu-bits.com/ + + caps: + categories: + # Movies + 14: Movies/BluRay # Full Blu-ray + 54: Movies/HD # HD-DVD + 16: Movies/HD # Remux + 55: Movies/HD # 2160p + 15: Movies/HD # 1080p + 19: Movies/HD # 1080i + 18: Movies/HD # 720p + + # Documentaries + 21: Movies/BluRay # Full Blu-ray + 39: Movies/HD # Remux + 56: Movies/HD # 2160p + 23: Movies/HD # 1080p + 24: Movies/HD # 1080i + 25: Movies/HD # 720p + + # TV Series + 27: TV/HD # Full Blu-ray + 40: TV/HD # Remux + 28: TV/HD # 1080p + 29: TV/HD # 1080i + 30: TV/HD # 720p + + # HDTV + 35: TV/HD # 1080i + 36: TV/HD # 720p + + # XXX + 59: XXX # Full Blu-ray + 46: XXX # 1080p + 51: XXX # 720p + + # Music + 53: Audio/Video # Full Blu-ray + 57: Audio/Video # Remux + 45: Audio/Video # 1080p + 58: Audio/Video # 720p + 38: Audio/Lossless # Flac + + 41: TV/Sport # Sports + 42: TV/Anime # Anime + 44: PC # Windows Apps + + modes: + search: [q] + tv-search: [q, season, ep] + + login: + path: index.php?page=login + method: post + inputs: + uid: "{{ .Config.username }}" + pwd: "{{ .Config.password }}" + error: + - selector: table.lista > tbody > tr > td.lista > span[style="color:#FF0000;"] + test: + path: index.php + selector: ul#navlist + + ratio: + path: index.php + selector: "ul#navlist > li:contains(\"Ratio: \")" + filters: + - name: split + args: ["\u00a0", 1] + - name: replace + args: ["---", "0"] + + search: + path: index.php + inputs: + search: "{{ .Query.Keywords }}" + page: torrents + options: 0 + active: 0 + rows: + selector: div.b-content > table.lista > tbody > tr:has(a[href^="index.php?page=torrents&category="]) + fields: + download: + selector: a[href^="download.php?id="] + attribute: href + title: + selector: a[href^="index.php?page=torrent-details&id="] + attribute: title + filters: + - name: replace + args: ["View details: ", ""] + category: + selector: a[href^="index.php?page=torrents&category="] + attribute: href + filters: + - name: querystring + args: category + comments: + selector: a[href^="index.php?page=torrent-details&id="] + attribute: href + size: + selector: p + filters: + - name: replace + args: ["\u00a0", ""] + - name: regexp + args: "\\|\\s+Size:\\s+([\\w\\d\\.,]+ \\w\\w)\\s+\\|" + date: + selector: a[href^="index.php?page=torrent-details&id="] + attribute: onmouseover + filters: + - name: regexp + args: "