From 9564e9291febd75c60227c7df7f2c17734c1d1bd Mon Sep 17 00:00:00 2001 From: Jonathan Kay Date: Sat, 5 Mar 2022 13:47:04 -0500 Subject: [PATCH] [ComicsKingdomBridge] Grab the last meta og:url content instead of first (#2484) There are now two og:url values on the page, the first no longer contains the necessary date URL for the bridge to work. Finding the last og:url on the page restores the bridge to working order. --- bridges/ComicsKingdomBridge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridges/ComicsKingdomBridge.php b/bridges/ComicsKingdomBridge.php index ad902027..402403e0 100644 --- a/bridges/ComicsKingdomBridge.php +++ b/bridges/ComicsKingdomBridge.php @@ -23,7 +23,7 @@ class ComicsKingdomBridge extends BridgeAbstract { $author = $html->find('div.author p', 0);; // Get current date/link - $link = $html->find('meta[property=og:url]', 0)->content; + $link = $html->find('meta[property=og:url]', -1)->content; for($i = 0; $i < 3; $i++) { $item = array();