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',