af_redditimgur: try to handle mobile imgur albums

remotes/origin/jsonfeed-test-branch
Andrew Dolgov 7 years ago
parent dfaf806a7a
commit 8b2a52c635
  1. 2
      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);

Loading…
Cancel
Save