Files
cannaiq/backend/test-playwright-scraper-curaleaf.ts
2025-11-28 19:45:44 -07:00

20 lines
540 B
TypeScript

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();