Last batch of bridges, all implemented !

Signed-off-by: teromene <teromene@teromene.fr>
This commit is contained in:
teromene 2015-11-05 15:50:18 +00:00 committed by Mitsukarenai
parent 715ad3bf3f
commit 78c9dcc705
60 changed files with 1678 additions and 604 deletions

View file

@ -1,17 +1,28 @@
<?php
/**
* RssBridgeYandere
* Returns images from given page and tags
* 2014-05-25
*
* @name Yande.re
* @homepage https://yande.re/
* @description Returns images from given page and tags
* @maintainer mitsukarenai
* @use1(p="page", t="tags")
*/
class YandereBridge extends BridgeAbstract{
public function loadMetadatas() {
$this->maintainer = "mitsukarenai";
$this->name = "Yande.re";
$this->uri = "https://yande.re/";
$this->description = "Returns images from given page and tags";
$this->update = "2014-05-25";
$this->parameters[] =
'[
{
"name" : "page",
"identifier" : "p",
"type" : "number"
},
{
"name" : "tags",
"identifier" : "t"
}
]';
}
public function collectData(array $param){
$page = 1; $tags = '';
if (isset($param['p'])) {