rss-bridge/bridges/MspabooruBridge.php
2022-05-13 09:35:25 +02:00

14 lines
367 B
PHP

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