Skip to content

contentSelector (knowledge graph)

Description

Use CSS selector to extract target URL from a website that will be passed to Knowledge Graph endpoint.

Default value

contentSelector: null

Examples

Get first result URL from search page based on element content

contentSelector: '#search-results .result:first-child cite'

Get first result URL from search page based on element attribute

contentSelector: '#search-results .result:first-child'
contentType: 'attr',
contentAttr: 'data-fb-result',

See also

top

Funnelback logo
v15.18.0