mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 18:25:55 +00:00
af_redditimgur: try to handle mobile imgur albums
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user