Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

[Feat] Added allowed urls

rafaelsideguide75597f72a197
diff --git a/apps/api/src/scraper/WebScraper/utils/blocklist.ts b/apps/api/src/scraper/WebScraper/utils/blocklist.ts
index 0eef33209..a50e42ef4 100644
--- a/apps/api/src/scraper/WebScraper/utils/blocklist.ts
+++ b/apps/api/src/scraper/WebScraper/utils/blocklist.ts
@@ -14,6 +14,14 @@ const socialMediaBlocklist = [
'telegram.org',
];
+const allowedUrls = [
+ 'linkedin.com/pulse'
+];
+
export function isUrlBlocked(url: string): boolean {
+ if (allowedUrls.some(allowedUrl => url.includes(allowedUrl))) {
+ return false;
+ }
+
return socialMediaBlocklist.some(domain => url.includes(domain));
}