af_redditimgur: try to handle mobile imgur albums

This commit is contained in:
Andrew Dolgov 2016-03-22 09:20:36 +03:00
parent dfaf806a7a
commit 8b2a52c635
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ class Af_RedditImgur extends Plugin {
// linked albums & pages // linked albums & pages
if (preg_match("/^https?:\/\/(m\.)?imgur.com\/([^\.\/]+$)/", $entry->getAttribute("href"), $matches) || 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); _debug("Handling as an imgur page/album/gallery", $debug);