Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.51 KB

File metadata and controls

31 lines (22 loc) · 1.51 KB

StageDefsURLPatterns

URL pattern filters for crawling. Used to include or exclude specific URL patterns when crawling. Patterns are Python regular expressions.

Properties

Name Type Description Notes
include List[str] Regex patterns for URLs to include. If provided, URLs must match at least one pattern to be crawled. If empty, all URLs (subject to other filters) are included. Example: ['/blog/.', '/docs/.'] [optional]
exclude List[str] Regex patterns for URLs to exclude. URLs matching any pattern are skipped. Applied after include patterns. Example: ['/login', '/admin/.', '\\?.'] [optional]

Example

from mixpeek.models.stage_defs_url_patterns import StageDefsURLPatterns

# TODO update the JSON string below
json = "{}"
# create an instance of StageDefsURLPatterns from a JSON string
stage_defs_url_patterns_instance = StageDefsURLPatterns.from_json(json)
# print the JSON string representation of the object
print(StageDefsURLPatterns.to_json())

# convert the object into a dict
stage_defs_url_patterns_dict = stage_defs_url_patterns_instance.to_dict()
# create an instance of StageDefsURLPatterns from a dict
stage_defs_url_patterns_from_dict = StageDefsURLPatterns.from_dict(stage_defs_url_patterns_dict)

[Back to Model list] [Back to API list] [Back to README]