mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-08 17:46:34 +02:00
bridges: Cleanup occurrences of $item->thumbnailUri
This is a subsequent change to f3eefab
This commit is contained in:
@@ -14,7 +14,7 @@ class YoutubeBridge extends BridgeAbstract {
|
||||
$this->homepage = $this->getURI();
|
||||
$this->description = 'Returns the 10 newest videos by username/channel/playlist or search';
|
||||
$this->maintainer = 'mitsukarenai';
|
||||
$this->update = '02/05/2016';
|
||||
$this->update = '2016-08-09';
|
||||
|
||||
$this->parameters['By username'] =
|
||||
'[
|
||||
@@ -83,8 +83,8 @@ class YoutubeBridge extends BridgeAbstract {
|
||||
$item->author = $author;
|
||||
$item->timestamp = $time;
|
||||
$item->uri = $this->getURI().'watch?v='.$vid;
|
||||
$item->thumbnailUri = str_replace('/www.', '/img.', $this->getURI()).'vi/'.$vid.'/0.jpg';
|
||||
$item->content = '<a href="'.$item->uri.'"><img src="'.$item->thumbnailUri.'" /></a><br />'.$desc;
|
||||
$thumbnailUri = str_replace('/www.', '/img.', $this->getURI()).'vi/'.$vid.'/0.jpg';
|
||||
$item->content = '<a href="'.$item->uri.'"><img src="'.$thumbnailUri.'" /></a><br />'.$desc;
|
||||
$this->items[] = $item;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user