removed proxy-demo
This commit is contained in:
parent
746b84883e
commit
f2b77f38b4
1 changed files with 0 additions and 24 deletions
|
|
@ -1,24 +0,0 @@
|
|||
import { proxyService } from './providers/proxy.tasks';
|
||||
import { getLogger } from '@stock-bot/logger';
|
||||
|
||||
// Initialize logger for the demo
|
||||
const logger = getLogger('proxy-demo');
|
||||
console.log('🔧 Starting proxy demo...');
|
||||
/**
|
||||
* Example: Custom proxy source with enhanced logging
|
||||
*/
|
||||
async function demonstrateCustomProxySource() {
|
||||
console.log('🔧 Demonstrating!');
|
||||
logger.info('🔧 Demonstrating custom proxy source...');
|
||||
|
||||
try {
|
||||
console.log('🔧 Demonstrating 1');
|
||||
await proxyService.fetchProxiesFromSources();
|
||||
console.log('🔧 Demonstrating custom proxy source is DONE!');
|
||||
} catch (error) {
|
||||
logger.error('❌ Custom source scraping failed',{
|
||||
error: error
|
||||
});
|
||||
}
|
||||
}
|
||||
demonstrateCustomProxySource()
|
||||
Loading…
Add table
Add a link
Reference in a new issue