MCPcopy
hub / github.com/apify/crawlee / makeOpenGraphSelector

Function makeOpenGraphSelector

packages/utils/src/internals/open_graph_parser.ts:356–356  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

354];
355
356const makeOpenGraphSelector = (name: string) => `meta[property="${name}"]`;
357
358const parseOpenGraphProperty = (property: OpenGraphProperty, $: CheerioAPI): string | string[] | OpenGraphResult => {
359 // Some OpenGraph properties can be added multiple times, such as with video:actor. We must handle this case.

Callers 1

parseOpenGraphPropertyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…