mirror of
https://tt-rss.org/git/tt-rss.git
synced 2024-06-28 12:10:52 +02:00
commit
c68013b132
|
@ -94,7 +94,7 @@ class Af_RedditImgur extends Plugin {
|
||||||
$matches = array();
|
$matches = array();
|
||||||
if (preg_match("/^https?:\/\/(m\.)?imgur.com\/([^\.\/]+$)/", $entry->getAttribute("href"), $matches)) {
|
if (preg_match("/^https?:\/\/(m\.)?imgur.com\/([^\.\/]+$)/", $entry->getAttribute("href"), $matches)) {
|
||||||
|
|
||||||
$token = $matches[1];
|
$token = $matches[2];
|
||||||
|
|
||||||
$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);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user