Use the Parsefilter-regex plugin to extract custom fields
masterThe parsefilter-regex plugin allows you to parse and set custom defined fields using regular expressions. You can define rules either in an external text file or directly within the Nutch configuration.
Rules follow the format: <name>\t<source>\t<regex>\n (tab-separated).
Rule Parameters:
<name>: The name of the custom field to be created.<source>: The source type for the regex application. Supported values are:html: The regex is applied to the entire HTML tree.text: The regex is applied to the extracted text.
<regex>: The regular expression pattern used for extraction.