Add (tint)
This commit is contained in:
@@ -51,9 +51,8 @@ public static function handle(NewsSerpResult $news_serp_result, $serp_counts = 1
|
||||
|
||||
// check timestamp
|
||||
$serp_timestamp = Carbon::parse($serp_item->timestamp);
|
||||
if(!$serp_timestamp->isBetween(now()->subHours(6), now()))
|
||||
{
|
||||
continue;
|
||||
if (! $serp_timestamp->isBetween(now()->subHours(6), now())) {
|
||||
continue;
|
||||
}
|
||||
|
||||
/////
|
||||
@@ -64,9 +63,6 @@ public static function handle(NewsSerpResult $news_serp_result, $serp_counts = 1
|
||||
|
||||
$skipItem = false;
|
||||
|
||||
|
||||
|
||||
|
||||
foreach ($blacklist_domains as $domain) {
|
||||
if (str_contains($serp_item->domain, $domain)) {
|
||||
$skipItem = true;
|
||||
|
||||
Reference in New Issue
Block a user