aboutsummaryrefslogtreecommitdiff
path: root/bridges/Rule34pahealBridge.php
diff options
context:
space:
mode:
Diffstat (limited to 'bridges/Rule34pahealBridge.php')
-rw-r--r--bridges/Rule34pahealBridge.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/bridges/Rule34pahealBridge.php b/bridges/Rule34pahealBridge.php
index 33716408..ecffcc58 100644
--- a/bridges/Rule34pahealBridge.php
+++ b/bridges/Rule34pahealBridge.php
@@ -7,7 +7,7 @@ class Rule34pahealBridge extends BridgeAbstract{
$this->name = "Rule34paheal";
$this->uri = "http://rule34.paheal.net/";
$this->description = "Returns images from given page";
- $this->update = "2014-05-25";
+ $this->update = "2016-08-09";
$this->parameters[] =
'[
@@ -40,10 +40,10 @@ class Rule34pahealBridge extends BridgeAbstract{
$item->uri = 'http://rule34.paheal.net'.$element->find('a', 0)->href;
$item->postid = (int)preg_replace("/[^0-9]/",'', $element->find('img', 0)->getAttribute('id'));
$item->timestamp = time();
- $item->thumbnailUri = $element->find('img', 0)->src;
+ $thumbnailUri = $element->find('img', 0)->src;
$item->tags = $element->getAttribute('data-tags');
$item->title = 'Rule34paheal | '.$item->postid;
- $item->content = '<a href="' . $item->uri . '"><img src="' . $item->thumbnailUri . '" /></a><br>Tags: '.$item->tags;
+ $item->content = '<a href="' . $item->uri . '"><img src="' . $thumbnailUri . '" /></a><br>Tags: '.$item->tags;
$this->items[] = $item;
}
}