1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-22 11:36:38 +02:00

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

View File

@ -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);