mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-29 23:00:48 +03:00
bb6d553dd5
This reverts commit fd449be4eb
.
15 lines
402 B
PHP
15 lines
402 B
PHP
<?php
|
|
require_once('GelbooruBridge.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';
|
|
}
|
|
}
|