linxus fs fixes
This commit is contained in:
parent
ac23b70146
commit
0b7846fe67
292 changed files with 41947 additions and 41947 deletions
|
|
@ -1,24 +1,24 @@
|
|||
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()
|
||||
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