mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 10:04:54 +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:
parent
2f09ae56ad
commit
f0e502ce37
79 changed files with 1381 additions and 2316 deletions
|
@ -8,14 +8,12 @@ class T411Bridge extends BridgeAbstract {
|
|||
$this->uri = 'https://t411.ch/';
|
||||
$this->description = 'Returns the 10 newest torrents with specified search terms <br /> Use url part after "?" mark when using their search engine.';
|
||||
|
||||
$this->parameters[] =
|
||||
'[
|
||||
{
|
||||
"name" : "Search criteria",
|
||||
"identifier" : "search",
|
||||
"required": true
|
||||
}
|
||||
]';
|
||||
$this->parameters[] = array(
|
||||
'search'=>array(
|
||||
'name'=>'Search criteria',
|
||||
'required'=>true
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
public function collectData(array $param) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue