pathPatterns property

List<String> pathPatterns
getter/setter pair

List of URL path patterns that this configuration should handle.

These patterns are used to match against the path portion of URLs. When a URL's path matches any of these patterns, this configuration will be used for scraping that URL.

Examples:

  • ['/products', '/items'] - matches URLs ending with /products or /items
  • ['/category/*'] - matches any URL with /category/ followed by anything
  • ['/'] - matches the root path of the domain

Implementation

List<String> pathPatterns;