- refactored scraper filter function

- added ability to specify default scrapers in environment variables
This commit is contained in:
2026-05-15 23:44:01 -05:00
parent b13dceaeb5
commit 9c2921c7fa
3 changed files with 133 additions and 151 deletions
+7
View File
@@ -22,6 +22,13 @@ class config{
// Enable the API?
const API_ENABLED = true;
// Default scrapers
const SCRAPER_WEB = "ddg";
const SCRAPER_IMAGES = "ddg";
const SCRAPER_NEWS = "ddg";
const SCRAPER_VIDEOS = "yt";
const SCRAPER_MUSIC = "sc";
//
// BOT PROTECTION