af_redditimgur: add yet another imgur album variant
This commit is contained in:
parent
5f58daa2fb
commit
0989732107
|
@ -132,7 +132,7 @@ class Af_RedditImgur extends Plugin {
|
|||
}
|
||||
|
||||
// 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"),
|
||||
false, false, false, false, 10);
|
||||
|
|
Loading…
Reference in New Issue