[FacebookBridge] Remove "Posts" from author name (#917)

This commit is contained in:
triatic 2018-11-08 18:04:58 +00:00 committed by LogMANOriginal
parent 0b2ede35cd
commit bf91f106b4

View file

@ -538,7 +538,7 @@ EOD;
if(isset($element)) {
$author = str_replace(' | Facebook', '', $html->find('title#pageTitle', 0)->innertext);
$author = str_replace(' - Posts | Facebook', '', $html->find('title#pageTitle', 0)->innertext);
$profilePic = $html->find('meta[property="og:image"]', 0)->content;