af_redditimgur: also blacklist in-content links
This commit is contained in:
parent
2abc434e26
commit
8764662138
|
@ -110,6 +110,9 @@ class Af_RedditImgur extends Plugin {
|
||||||
foreach ($entries as $entry) {
|
foreach ($entries as $entry) {
|
||||||
if ($entry->hasAttribute("href") && strpos($entry->getAttribute("href"), "reddit.com") === false) {
|
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);
|
Debug::log("processing href: " . $entry->getAttribute("href"), Debug::$LOG_VERBOSE);
|
||||||
|
|
||||||
$matches = array();
|
$matches = array();
|
||||||
|
|
Loading…
Reference in New Issue