mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 18:14:44 +02:00
[bridges] use constants instead of variable members
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
parent
556b8a2452
commit
9a0da733ef
129 changed files with 834 additions and 834 deletions
|
@ -1,13 +1,13 @@
|
|||
<?php
|
||||
class HentaiHavenBridge extends BridgeAbstract{
|
||||
|
||||
public $maintainer = "albirew";
|
||||
public $name = "Hentai Haven";
|
||||
public $uri = "http://hentaihaven.org/";
|
||||
public $description = "Returns releases from Hentai Haven";
|
||||
const MAINTAINER = "albirew";
|
||||
const NAME = "Hentai Haven";
|
||||
const URI = "http://hentaihaven.org/";
|
||||
const DESCRIPTION = "Returns releases from Hentai Haven";
|
||||
|
||||
public function collectData(){
|
||||
$html = $this->getSimpleHTMLDOM($this->uri)
|
||||
$html = $this->getSimpleHTMLDOM(self::URI)
|
||||
or $this->returnServerError('Could not request Hentai Haven.');
|
||||
foreach($html->find('div.zoe-grid') as $element) {
|
||||
$item = array();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue