struct.go 801 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. package spider
  2. type WooTypeJson struct {
  3. Url Url
  4. Css Css
  5. }
  6. type Url struct {
  7. IsHtmlMatch bool // false(defaul): Quick Match with Page Url, true: Page Html (ex:Magento)
  8. HtmlMatchStr string
  9. PdpRegEx string //Product Detail Page Regular Expression
  10. PlpRegEx string //Product List Page Regular Expression
  11. }
  12. type Css struct {
  13. //Css-Card1
  14. ItemName string
  15. Categories string
  16. Currency string
  17. SalesPrice string
  18. Images string
  19. ShortDesc string
  20. TextDesc string
  21. Tags string
  22. Emails string
  23. //Css-Card2
  24. Language string
  25. BrandName string
  26. Manufacturer string
  27. Sku string
  28. Options string
  29. UserCredit string
  30. ModelNo string
  31. ModelName string
  32. Origin string
  33. OriginDesc string
  34. MinimumQty string
  35. DeliveryPrice string
  36. }