Optionalafterget all text after this string
Optionalattributeread this attribute (e.g. "data-profile-id") instead of the element's text. The raw attribute value is used (e.g. "href" is not resolved to an absolute URL)
Optionalbeforeget all text before this string
Optionalfindwhether to get all occurrences of the selector
Optionalselectorxpath or css selector
Optionalseparatorsplit the text on this string, or use a regex by passing "/pattern/" (e.g. "/(?<=, [A-Z]{2}), /")
The text-shaping knobs every selector-based field shares: where the value lives and how to clean the text once read. This is the spec for the majority of fields (name, age, phone, …); city/state and profileUrl extend it (see CityStateSpec, ProfileUrlSpec). For example: { "selector": ".//div[@class='relatives']//li" }