mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-31 22:00:23 +02:00
fix: various notice fixes (#3718)
This commit is contained in:
@@ -415,10 +415,14 @@ class CssSelectorComplexBridge extends BridgeAbstract
|
||||
) {
|
||||
$article_content = convertLazyLoading($entry_html);
|
||||
|
||||
$article_title = '';
|
||||
if (is_null($title_selector)) {
|
||||
$article_title = $title_default;
|
||||
} else {
|
||||
$article_title = trim($entry_html->find($title_selector, 0)->innertext);
|
||||
$titleElement = $entry_html->find($title_selector, 0);
|
||||
if ($titleElement) {
|
||||
$article_title = trim($titleElement->innertext);
|
||||
}
|
||||
}
|
||||
|
||||
$author = null;
|
||||
|
Reference in New Issue
Block a user