mirror of
https://github.com/Jackett/Jackett
synced 2025-02-23 23:00:51 +00:00
Merge branch 'master' of https://github.com/Jackett/Jackett.git
This commit is contained in:
commit
22ca2d9552
8 changed files with 84 additions and 9 deletions
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
This project is a new fork and is recruiting development help. If you are able to help out please contact us.
|
This project is a new fork and is recruiting development help. If you are able to help out please contact us.
|
||||||
|
|
||||||
Jackett works as a proxy server: it translates queries from apps ([Sonarr](https://github.com/Sonarr/Sonarr), [Radarr](https://github.com/Radarr/Radarr), [SickRage](https://sickrage.github.io/), [CouchPotato](https://couchpota.to/), [Mylar](https://github.com/evilhero/mylar), etc) into tracker-site-specific http queries, parses the html response, then sends results back to the requesting software. This allows for getting recent uploads (like RSS) and performing searches. Jackett is a single repository of maintained indexer scraping & translation logic - removing the burden from other apps.
|
Jackett works as a proxy server: it translates queries from apps ([Sonarr](https://github.com/Sonarr/Sonarr), [Radarr](https://github.com/Radarr/Radarr), [SickRage](https://sickrage.github.io/), [CouchPotato](https://couchpota.to/), [Mylar](https://github.com/evilhero/mylar), [DuckieTV](https://github.com/SchizoDuckie/DuckieTV), etc) into tracker-site-specific http queries, parses the html response, then sends results back to the requesting software. This allows for getting recent uploads (like RSS) and performing searches. Jackett is a single repository of maintained indexer scraping & translation logic - removing the burden from other apps.
|
||||||
|
|
||||||
Developer note: The software implements the [Torznab](https://github.com/Sonarr/Sonarr/wiki/Implementing-a-Torznab-indexer) (with [nZEDb](https://github.com/nZEDb/nZEDb/blob/dev/docs/newznab_api_specification.txt) category numbering) and [TorrentPotato](https://github.com/RuudBurger/CouchPotatoServer/wiki/Couchpotato-torrent-provider) APIs.
|
Developer note: The software implements the [Torznab](https://github.com/Sonarr/Sonarr/wiki/Implementing-a-Torznab-indexer) (with [nZEDb](https://github.com/nZEDb/nZEDb/blob/dev/docs/newznab_api_specification.txt) category numbering) and [TorrentPotato](https://github.com/RuudBurger/CouchPotatoServer/wiki/Couchpotato-torrent-provider) APIs.
|
||||||
|
|
||||||
|
@ -25,6 +25,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
|
||||||
* Anidex
|
* Anidex
|
||||||
* Anime Tosho
|
* Anime Tosho
|
||||||
* AniRena
|
* AniRena
|
||||||
|
* btbit
|
||||||
* BTDB
|
* BTDB
|
||||||
* cpasbien
|
* cpasbien
|
||||||
* EZTV
|
* EZTV
|
||||||
|
|
58
src/Jackett/Definitions/btbit.yml
Normal file
58
src/Jackett/Definitions/btbit.yml
Normal file
|
@ -0,0 +1,58 @@
|
||||||
|
---
|
||||||
|
site: btbit
|
||||||
|
name: btbit
|
||||||
|
description: "btbit is a public magnet search engine for MOVIES / GENERAL. This definition is for the English site."
|
||||||
|
language: en-us
|
||||||
|
type: public
|
||||||
|
encoding: UTF-8
|
||||||
|
links:
|
||||||
|
- http://en.btbit.org/
|
||||||
|
|
||||||
|
caps:
|
||||||
|
categories:
|
||||||
|
"Movie": Movies
|
||||||
|
"Package": PC/0day
|
||||||
|
"Other": Other
|
||||||
|
"Software": PC
|
||||||
|
"Mirror": PC/ISO
|
||||||
|
"Music": Audio
|
||||||
|
"Picture": Other/Misc
|
||||||
|
"Document": Books
|
||||||
|
|
||||||
|
modes:
|
||||||
|
search: [q]
|
||||||
|
tv-search: [q, season, ep]
|
||||||
|
movie-search: [q]
|
||||||
|
|
||||||
|
settings: []
|
||||||
|
|
||||||
|
search:
|
||||||
|
path: "list/{{if .Keywords}}{{.Keywords}}{{else}}movie{{end}}.html"
|
||||||
|
rows:
|
||||||
|
selector: .rs
|
||||||
|
fields:
|
||||||
|
title:
|
||||||
|
selector: .title
|
||||||
|
category:
|
||||||
|
selector: .sbar span[class^="cpill"]
|
||||||
|
details:
|
||||||
|
selector: .title h3 a
|
||||||
|
attribute: href
|
||||||
|
download:
|
||||||
|
selector: .sbar a[href^="magnet:?xt"]
|
||||||
|
attribute: href
|
||||||
|
date:
|
||||||
|
selector: .sbar span:nth-of-type(3) b
|
||||||
|
filters:
|
||||||
|
- name: dateparse
|
||||||
|
args: "2006-01-02"
|
||||||
|
size:
|
||||||
|
selector: .sbar span:nth-of-type(4) b
|
||||||
|
files:
|
||||||
|
selector: .sbar span:nth-of-type(5) b
|
||||||
|
grabs:
|
||||||
|
selector: .sbar span:nth-of-type(6) b
|
||||||
|
downloadvolumefactor:
|
||||||
|
text: "0"
|
||||||
|
uploadvolumefactor:
|
||||||
|
text: "1"
|
|
@ -6,7 +6,10 @@
|
||||||
type: public
|
type: public
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
links:
|
links:
|
||||||
|
- http://cpabien.org/
|
||||||
|
legacylinks:
|
||||||
- http://cpabien.cc/
|
- http://cpabien.cc/
|
||||||
|
- http://cpabien.co/
|
||||||
|
|
||||||
caps:
|
caps:
|
||||||
categorymappings:
|
categorymappings:
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
selector: a[href^="/get_torrent/"]
|
selector: a[href^="/get_torrent/"]
|
||||||
|
|
||||||
search:
|
search:
|
||||||
path: "/search/{{ .Query.Keywords }}"
|
path: "{{if .Keywords}}/recherche/{{.Keywords}}{{else}}{{end}}"
|
||||||
rows:
|
rows:
|
||||||
selector: div.listing-torrent > table > tbody > tr:has(a)
|
selector: div.listing-torrent > table > tbody > tr:has(a)
|
||||||
fields:
|
fields:
|
||||||
|
@ -70,9 +70,11 @@
|
||||||
category:
|
category:
|
||||||
selector: td:nth-child(1) > i
|
selector: td:nth-child(1) > i
|
||||||
case:
|
case:
|
||||||
.Movies: "movies"
|
.Films: "movies"
|
||||||
.TV: "tvshows"
|
.Séries: "tvshows"
|
||||||
.Softwares: "softwares"
|
.Logiciels: "softwares"
|
||||||
.Music: "music"
|
.Musiques: "music"
|
||||||
.Games: "games"
|
.Jeux: "games"
|
||||||
.Books: "books"
|
.Ebooks: "books"
|
||||||
|
date:
|
||||||
|
text: "now"
|
||||||
|
|
|
@ -6,6 +6,8 @@
|
||||||
type: public
|
type: public
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
links:
|
links:
|
||||||
|
- https://www.nextorrent.cc/
|
||||||
|
legacylinks:
|
||||||
- https://www.nextorrent.org/
|
- https://www.nextorrent.org/
|
||||||
|
|
||||||
caps:
|
caps:
|
||||||
|
|
|
@ -47,6 +47,8 @@
|
||||||
title:
|
title:
|
||||||
selector: td.m-name > a
|
selector: td.m-name > a
|
||||||
filters:
|
filters:
|
||||||
|
- name: replace # Fix Grey's Anatomy results
|
||||||
|
args: ["Greys Anatomy", "Grey's Anatomy"]
|
||||||
# now we put the date at the right place according scene
|
# now we put the date at the right place according scene
|
||||||
# naming rules using .Result.site_date
|
# naming rules using .Result.site_date
|
||||||
- name: replace
|
- name: replace
|
||||||
|
|
|
@ -6,9 +6,10 @@
|
||||||
type: public
|
type: public
|
||||||
encoding: UTF-8
|
encoding: UTF-8
|
||||||
links:
|
links:
|
||||||
- http://www.torrent9.pe/
|
- http://www.torrents9.pe/
|
||||||
legacylinks:
|
legacylinks:
|
||||||
- http://www.torrent9.cc/
|
- http://www.torrent9.cc/
|
||||||
|
- http://www.torrent9.pe/
|
||||||
|
|
||||||
caps:
|
caps:
|
||||||
categorymappings:
|
categorymappings:
|
||||||
|
|
|
@ -204,7 +204,13 @@ namespace Jackett.Services
|
||||||
public IWebIndexer GetWebIndexer(string name)
|
public IWebIndexer GetWebIndexer(string name)
|
||||||
{
|
{
|
||||||
if (indexers.ContainsKey(name))
|
if (indexers.ContainsKey(name))
|
||||||
|
{
|
||||||
return indexers[name] as IWebIndexer;
|
return indexers[name] as IWebIndexer;
|
||||||
|
}
|
||||||
|
else if (name == "all")
|
||||||
|
{
|
||||||
|
return aggregateIndexer as IWebIndexer;
|
||||||
|
}
|
||||||
|
|
||||||
logger.Error("Request for unknown indexer: " + name);
|
logger.Error("Request for unknown indexer: " + name);
|
||||||
throw new Exception("Unknown indexer: " + name);
|
throw new Exception("Unknown indexer: " + name);
|
||||||
|
|
Loading…
Reference in a new issue