rss-bridge/bridges/XbooruBridge.php
Dag 4f75591060
Reformat codebase v4 (#2872)
Reformat code base to PSR12

Co-authored-by: rssbridge <noreply@github.com>
2022-07-01 15:10:30 +02:00

15 lines
400 B
PHP

<?php
class XbooruBridge extends GelbooruBridge
{
const MAINTAINER = 'mitsukarenai';
const NAME = 'Xbooru';
const URI = 'https://xbooru.com/';
const DESCRIPTION = 'Returns images from given page';
protected function buildThumbnailURI($element)
{
return $this->getURI() . 'thumbnails/' . $element->directory
. '/thumbnail_' . $element->hash . '.jpg';
}
}