1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-24 11:56:36 +02:00

af_redditimgur: also blacklist in-content links

This commit is contained in:
Andrew Dolgov 2021-01-03 10:55:57 +03:00
parent 2abc434e26
commit 8764662138

View File

@ -110,6 +110,9 @@ class Af_RedditImgur extends Plugin {
foreach ($entries as $entry) {
if ($entry->hasAttribute("href") && strpos($entry->getAttribute("href"), "reddit.com") === false) {
if ($this->is_blacklisted($entry->getAttribute("href")))
continue;
Debug::log("processing href: " . $entry->getAttribute("href"), Debug::$LOG_VERBOSE);
$matches = array();