20 lines
540 B
TypeScript
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();
|