Saleor Store
우리 컬렉션을 쇼핑하세요
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
1. Create platform category map
• src/config/categories/ .ts
• Maps platform-specific category strings to TomameCategory enum values
2. Export category map
• src/config/categories/index.ts
• Add export for the new category map
3. Create platform scraper
• src/features/extraction/scrapers/ .ts
• Extends PlatformScraper, implements scrape() and extract() methods
• Uses the category map to convert platform categories to TomameCategory
4. Register scraper
• src/features/extraction/scrapers/registry.ts
• Add the new scraper instance to the registry arrayREADME 전문 보기 ↗Create platform category map
src/config/categories/<platform>.tsTomameCategory enum valuesExport category map
src/config/categories/index.tsCreate platform scraper
src/features/extraction/scrapers/<platform>.tsPlatformScraper, implements scrape() and extract() methodsTomameCategoryRegister scraper
src/features/extraction/scrapers/registry.tsAdd tests
src/features/extraction/scrapers/__tests__/<platform>.test.ts - test filesrc/features/extraction/scrapers/__tests__/fixtures/<platform>-<product>.html - HTML fixturefetch-fixture.ts script to capture real product pages