ajout heimdall
This commit is contained in:
11
heimdall/config/www/SupportedApps/NZBHydra/NZBHydra.php
Executable file
11
heimdall/config/www/SupportedApps/NZBHydra/NZBHydra.php
Executable file
@@ -0,0 +1,11 @@
|
||||
<?php namespace App\SupportedApps\NZBHydra;
|
||||
|
||||
class NZBHydra 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.'/?category=All&mode=search&query='.$q);
|
||||
}
|
||||
}
|
||||
10
heimdall/config/www/SupportedApps/NZBHydra/app.json
Executable file
10
heimdall/config/www/SupportedApps/NZBHydra/app.json
Executable file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"appid": "a5b4faf84287a35c98adc76f2117aa10d1ea6eb8",
|
||||
"name": "NZBHydra",
|
||||
"website": "https://github.com/theotherp/nzbhydra2",
|
||||
"license": "Apache License 2.0",
|
||||
"description": "NZBHydra is a meta search for NZB indexers. It provides easy access to a number of raw and newznab based indexers. You can search all your indexers from one place and use it as an indexer source for tools like Sonarr, Radarr or CouchPotato.",
|
||||
"enhanced": false,
|
||||
"tile_background": "light",
|
||||
"icon": "nzbhydra.png"
|
||||
}
|
||||
BIN
heimdall/config/www/SupportedApps/NZBHydra/nzbhydra.png
Executable file
BIN
heimdall/config/www/SupportedApps/NZBHydra/nzbhydra.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 14 KiB |
Reference in New Issue
Block a user