mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-11 19:14:09 +02:00
[GelbooruBridge] + inheriting Bridges. Switch to using Gelbooru API (#2472)
This commit is contained in:
@@ -8,5 +8,8 @@ class XbooruBridge extends GelbooruBridge {
|
||||
const URI = 'https://xbooru.com/';
|
||||
const DESCRIPTION = 'Returns images from given page';
|
||||
|
||||
const PIDBYPAGE = 50;
|
||||
protected function buildThumbnailURI($element){
|
||||
return $this->getURI() . 'thumbnails/' . $element->directory
|
||||
. '/thumbnail_' . $element->hash . '.jpg';
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user