feat: Add stale process monitor, users route, landing page, archive old scripts
- Add backend stale process monitoring API (/api/stale-processes) - Add users management route - Add frontend landing page and stale process monitor UI on /scraper-tools - Move old development scripts to backend/archive/ - Update frontend build with new features 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
19
backend/archive/test-playwright-scraper-curaleaf.ts
Normal file
19
backend/archive/test-playwright-scraper-curaleaf.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
import { testScrapeCategoryPlaywright } from './src/services/scraper-playwright';
|
||||
|
||||
async function testCuraleafScraper() {
|
||||
// Test Curaleaf flower category
|
||||
const curaleafUrl = 'https://curaleaf.com/stores/curaleaf-dispensary-48th-street';
|
||||
|
||||
console.log('Testing Curaleaf Playwright Scraper...\n');
|
||||
|
||||
const products = await testScrapeCategoryPlaywright(
|
||||
curaleafUrl,
|
||||
'All Products',
|
||||
'Arizona'
|
||||
);
|
||||
|
||||
console.log(`\n📊 Final Results:`);
|
||||
console.log(`Total products found: ${products.length}`);
|
||||
}
|
||||
|
||||
testCuraleafScraper();
|
||||
Reference in New Issue
Block a user