diff --git a/bridges/VkBridge.php b/bridges/VkBridge.php index a21ee665..d86b9cf9 100644 --- a/bridges/VkBridge.php +++ b/bridges/VkBridge.php @@ -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 = '';