diff --git a/app/Jobs/Tasks/GenerateShopeeAIArticleTask.php b/app/Jobs/Tasks/GenerateShopeeAIArticleTask.php index 5f358fe..e3587eb 100644 --- a/app/Jobs/Tasks/GenerateShopeeAIArticleTask.php +++ b/app/Jobs/Tasks/GenerateShopeeAIArticleTask.php @@ -149,7 +149,7 @@ private static function stripHtml(string $raw_html) try { $r_configuration = new ReadabilityConfiguration(); - $r_configuration->setWordThreshold(20); + $r_configuration->setCharThreshold(20); $readability = new Readability($r_configuration);