Set match/replace rules. Each rule: {'where','pattern','replacement'}
(self, rules: list)
| 13364 | |
| 13365 | # ----------------- Match & Replace and Scope ----------------- |
| 13366 | def set_match_replace_rules(self, rules: list): |
| 13367 | """Set match/replace rules. Each rule: {'where','pattern','replacement'}""" |
| 13368 | self.match_replace_rules = rules or [] |
| 13369 | |
| 13370 | def set_scope(self, host: str, include_subdomains: bool = True): |
| 13371 | self.scope = {'host': host, 'include_subdomains': include_subdomains} |
no outgoing calls
no test coverage detected