mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 13:35:56 +00:00
redditimgur: support /album/
This commit is contained in:
@@ -81,7 +81,7 @@ class Af_RedditImgur extends Plugin {
|
||||
}
|
||||
|
||||
// linked albums, ffs
|
||||
if (preg_match("/^http:\/\/imgur.com\/a\/[^\.]+$/", $entry->getAttribute("href"), $matches)) {
|
||||
if (preg_match("/^http:\/\/imgur.com\/(a|album)\/[^\.]+$/", $entry->getAttribute("href"), $matches)) {
|
||||
|
||||
$album_content = fetch_file_contents($entry->getAttribute("href"),
|
||||
false, false, false, false, 10);
|
||||
|
||||
Reference in New Issue
Block a user