From 242b6953ed3c720b37ea81b255206a39f232cd32 Mon Sep 17 00:00:00 2001 From: triatic <42704418+triatic@users.noreply.github.com> Date: Fri, 30 Nov 2018 17:23:37 +0000 Subject: [PATCH] [FB2Bridge] Adapt to Facebook html change (#950) --- bridges/FB2Bridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/FB2Bridge.php b/bridges/FB2Bridge.php index fd65c9f4..862d20b2 100644 --- a/bridges/FB2Bridge.php +++ b/bridges/FB2Bridge.php @@ -103,7 +103,7 @@ EOD; $timestamp = 0; $item['uri'] = html_entity_decode('http://touch.facebook.com' - . $content->find("div[class='_52jc _5qc4 _24u0 _36xo']", 0)->find('a', 0)->getAttribute('href'), ENT_QUOTES); + . $content->find("div[class='_52jc _5qc4 _78cz _24u0 _36xo']", 0)->find('a', 0)->getAttribute('href'), ENT_QUOTES); //Decode images $imagecleaned = preg_replace_callback('/]* style="[^"]*url\(\'(.*?)\'\).*?><\/i>/m', function ($matches) {