- refactored scraper filter function
- added ability to specify default scrapers in environment variables
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user