Update (copies)
This commit is contained in:
@@ -51,16 +51,12 @@ public static function handleSingle($rss_url, $hours = 3)
|
||||
|
||||
$blacklist_rss_post_keywords = array_merge($blacklist_rss_post_keywords, get_country_names(true));
|
||||
|
||||
foreach ($blacklist_rss_post_keywords as $blacklist_keyword)
|
||||
{
|
||||
if (str_contains(strtolower($title), $blacklist_keyword))
|
||||
{
|
||||
continue 2;
|
||||
}
|
||||
foreach ($blacklist_rss_post_keywords as $blacklist_keyword) {
|
||||
if (str_contains(strtolower($title), $blacklist_keyword)) {
|
||||
continue 2;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
$raw_posts[] = (object) [
|
||||
'source' => $f->get_title(),
|
||||
'source_url' => $rss_url,
|
||||
|
||||
Reference in New Issue
Block a user