From: Andrew Dolgov Date: Sun, 5 Jul 2015 21:58:55 +0000 (+0300) Subject: af_redditimgur: add yet another imgur album variant X-Git-Tag: 16.3~258 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=09897321072550a84236df0eeadb487e1e560557;p=tt-rss.git af_redditimgur: add yet another imgur album variant --- diff --git a/plugins/af_redditimgur/init.php b/plugins/af_redditimgur/init.php index 809792dd..c680ee32 100644 --- a/plugins/af_redditimgur/init.php +++ b/plugins/af_redditimgur/init.php @@ -132,7 +132,7 @@ class Af_RedditImgur extends Plugin { } // linked albums, ffs - if (preg_match("/^https?:\/\/imgur.com\/(a|album)\/[^\.]+$/", $entry->getAttribute("href"), $matches)) { + if (preg_match("/^https?:\/\/imgur.com\/(a|album|gallery)\/[^\.]+$/", $entry->getAttribute("href"), $matches)) { $album_content = fetch_file_contents($entry->getAttribute("href"), false, false, false, false, 10);