mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-26 19:36:52 +03:00
Another HTTPS in double removed.
This commit is contained in:
parent
382ef28abe
commit
cd5d8b8953
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ class YoutubeBridge extends BridgeAbstract {
|
||||||
$videoquery = parse_url($element->find('a',0)->href, PHP_URL_QUERY); parse_str($videoquery, $videoquery);
|
$videoquery = parse_url($element->find('a',0)->href, PHP_URL_QUERY); parse_str($videoquery, $videoquery);
|
||||||
$item->id = $videoquery['v'];
|
$item->id = $videoquery['v'];
|
||||||
$item->uri = 'https://www.youtube.com/watch?v='.$item->id;
|
$item->uri = 'https://www.youtube.com/watch?v='.$item->id;
|
||||||
$item->thumbnailUri = 'https:'.$element->find('img',0)->src;
|
$item->thumbnailUri = $element->find('img',0)->src;
|
||||||
$item->title = trim($element->find('h3',0)->plaintext);
|
$item->title = trim($element->find('h3',0)->plaintext);
|
||||||
$item->timestamp = getPublishDate($item->id);
|
$item->timestamp = getPublishDate($item->id);
|
||||||
$item->content = '<a href="' . $item->uri . '"><img src="' . $item->thumbnailUri . '" /></a><br><a href="' . $item->uri . '">' . $item->title . '</a>';
|
$item->content = '<a href="' . $item->uri . '"><img src="' . $item->thumbnailUri . '" /></a><br><a href="' . $item->uri . '">' . $item->title . '</a>';
|
||||||
|
|
Loading…
Reference in a new issue