mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-18 14:22:38 +02:00
[bridges] migrate all bridges to an array based definition of parameters
see github issue 356 Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
@@ -8,16 +8,13 @@ class EZTVBridge extends BridgeAbstract{
|
||||
$this->uri = "https://eztv.ch/";
|
||||
$this->description = "Returns list of *recent* torrents for a specific show on EZTV. Get showID from URLs in https://eztv.ch/shows/showID/show-full-name.";
|
||||
|
||||
$this->parameters[] =
|
||||
'[
|
||||
{
|
||||
"name" : "Show ids",
|
||||
"identifier" : "i",
|
||||
"exampleValue" : "showID1,showID2,...",
|
||||
"required": true
|
||||
}
|
||||
]';
|
||||
|
||||
$this->parameters[] = array(
|
||||
'i'=>array(
|
||||
'name'=>'Show ids',
|
||||
'exampleValue'=>'showID1,showID2,…',
|
||||
'required'=>true
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
public function collectData(array $param){
|
||||
|
Reference in New Issue
Block a user