ajout heimdall
This commit is contained in:
12
heimdall/config/www/SupportedApps/Jackett/Jackett.php
Executable file
12
heimdall/config/www/SupportedApps/Jackett/Jackett.php
Executable file
@@ -0,0 +1,12 @@
|
||||
<?php namespace App\SupportedApps\Jackett;
|
||||
|
||||
class Jackett extends \App\SupportedApps implements \App\SearchInterface
|
||||
{
|
||||
public $type = "external"; // Whether to go to the external site or display results locally
|
||||
public function getResults($query, $provider)
|
||||
{
|
||||
$url = rtrim($provider->url, "/");
|
||||
$q = urlencode($query);
|
||||
return redirect($url . "#search=" . $q);
|
||||
}
|
||||
}
|
||||
10
heimdall/config/www/SupportedApps/Jackett/app.json
Executable file
10
heimdall/config/www/SupportedApps/Jackett/app.json
Executable file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"appid": "9d24b65315557ddd848ba44b09191a6ab305966f",
|
||||
"name": "Jackett",
|
||||
"website": "https://github.com/Jackett/Jackett",
|
||||
"license": "GNU General Public License v2.0 only",
|
||||
"description": "Jackett works as a proxy server: it translates queries from apps (Sonarr, Radarr, SickRage, CouchPotato, Mylar, DuckieTV, etc) into tracker-site-specific http queries, parses the html response, then sends results back to the requesting software.",
|
||||
"enhanced": false,
|
||||
"tile_background": "light",
|
||||
"icon": "jackett.svg"
|
||||
}
|
||||
BIN
heimdall/config/www/SupportedApps/Jackett/jackett.png
Executable file
BIN
heimdall/config/www/SupportedApps/Jackett/jackett.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 4.3 KiB |
Reference in New Issue
Block a user