mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-31 03:50:13 +02:00
fix: various small fixes (#3580)
This commit is contained in:
@@ -37,7 +37,8 @@ class AskfmBridge extends BridgeAbstract
|
||||
|
||||
$item['timestamp'] = strtotime($element->find('time', 0)->datetime);
|
||||
|
||||
$answer = trim($element->find('div.streamItem_content', 0)->innertext);
|
||||
$var = $element->find('div.streamItem_content', 0);
|
||||
$answer = trim($var->innertext ?? '');
|
||||
|
||||
// This probably should be cleaned up, especially for YouTube embeds
|
||||
if ($visual = $element->find('div.streamItem_visual', 0)) {
|
||||
|
Reference in New Issue
Block a user