mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-17 21:31:30 +00:00
af_redditimgur: add yet another imgur album variant
This commit is contained in:
@@ -132,7 +132,7 @@ class Af_RedditImgur extends Plugin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// linked albums, ffs
|
// linked albums, ffs
|
||||||
if (preg_match("/^https?:\/\/imgur.com\/(a|album)\/[^\.]+$/", $entry->getAttribute("href"), $matches)) {
|
if (preg_match("/^https?:\/\/imgur.com\/(a|album|gallery)\/[^\.]+$/", $entry->getAttribute("href"), $matches)) {
|
||||||
|
|
||||||
$album_content = fetch_file_contents($entry->getAttribute("href"),
|
$album_content = fetch_file_contents($entry->getAttribute("href"),
|
||||||
false, false, false, false, 10);
|
false, false, false, false, 10);
|
||||||
|
|||||||
Reference in New Issue
Block a user