From: Andrew Dolgov Date: Tue, 22 Mar 2016 06:20:36 +0000 (+0300) Subject: af_redditimgur: try to handle mobile imgur albums X-Git-Tag: 16.3~14 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=8b2a52c63504f335bf998ac23e6d9f76ae5f57c8;p=tt-rss.git af_redditimgur: try to handle mobile imgur albums --- diff --git a/plugins/af_redditimgur/init.php b/plugins/af_redditimgur/init.php index 5e9d9f7c..2e074813 100755 --- a/plugins/af_redditimgur/init.php +++ b/plugins/af_redditimgur/init.php @@ -195,7 +195,7 @@ class Af_RedditImgur extends Plugin { // linked albums & pages if (preg_match("/^https?:\/\/(m\.)?imgur.com\/([^\.\/]+$)/", $entry->getAttribute("href"), $matches) || - preg_match("/^https?:\/\/imgur.com\/(a|album|gallery)\/[^\.]+$/", $entry->getAttribute("href"), $matches)) { + preg_match("/^https?:\/\/(m\.)?imgur.com\/(a|album|gallery)\/[^\.]+$/", $entry->getAttribute("href"), $matches)) { _debug("Handling as an imgur page/album/gallery", $debug);