mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-25 10:56:18 +03:00
[VkBridge] Fix missing feed title (#3737)
This commit is contained in:
parent
145bd10f4c
commit
7e183915a9
1 changed files with 3 additions and 3 deletions
|
@ -76,10 +76,10 @@ class VkBridge extends BridgeAbstract
|
|||
break;
|
||||
}
|
||||
}
|
||||
$pageName = $html->find('.page_name', 0);
|
||||
$pageName = $html->find('meta[property="og:title"]', 0);
|
||||
if (is_object($pageName)) {
|
||||
$pageName = $pageName->plaintext;
|
||||
$this->pageName = htmlspecialchars_decode($pageName);
|
||||
$pageName = $pageName->getAttribute('content');
|
||||
$this->pageName = $pageName;
|
||||
}
|
||||
foreach ($html->find('div.replies') as $comment_block) {
|
||||
$comment_block->outertext = '';
|
||||
|
|
Loading…
Reference in a new issue