mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-20 23:31:37 +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,14 +8,12 @@ class ThePirateBayBridge extends BridgeAbstract{
|
||||
$this->uri = "https://thepiratebay.org/";
|
||||
$this->description = "Returns results for the keywords. You can put several list of keywords by separating them with a semicolon (e.g. \"one show;another show\")";
|
||||
|
||||
$this->parameters[] =
|
||||
'[
|
||||
{
|
||||
"name" : "keywords, separated by semicolons",
|
||||
"identifier" : "q",
|
||||
"exampleValue" : "first list;second list;..."
|
||||
}
|
||||
]';
|
||||
$this->parameters[] = array(
|
||||
'q'=>array(
|
||||
'name'=>'keywords, separated by semicolons',
|
||||
'exampleValue'=>'first list;second list;…'
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
public function collectData(array $param){
|
||||
|
Reference in New Issue
Block a user