Skip to content

Excluding URIs from crawl by regex doesn't work #743

Description

@LeoI07

(Apparently) due to this phenomenon, the ExtractorJS module interprets what appear to be references to object properties in the JavaScript code (of the form <object name>.<property name>) of a site I'm trying to crawl as relative URLs, which results in an obnoxious amount of unwanted URLs being crawled. Fortunately, in this case, the vast majority of these share only a handful of object names, so I tried using both the forceStrictIfUrlMatchingRegexList and rejectRelativeMatchingRegexList properties of the ConfigurableExtractorJS module and the MatchesListRegexDecideRule bean to exclude them from the crawl, using regexes prefixed with ^/, / and neither for the former, but the URLs I was trying to exclude continued to show up in the crawl logs. Any fixes?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions