MCPcopy
hub / github.com/jackwener/OpenCLI / push

Function push

clis/jd/item.js:70–74  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

68 }
69 };
70 const push = (value) => {
71 const url = normalizeJdImageUrl(value);
72 if (url && url.includes('360buyimg.com'))
73 urls.push(url);
74 };
75 for (const img of root.querySelectorAll?.('img') || []) {
76 if (isIgnoredContext(img))
77 continue;

Callers 4

pushUrlsFromTextFunction · 0.85
collectImageUrlsFromFunction · 0.85
collectImageUrlsFromTextFunction · 0.85

Calls 2

normalizeJdImageUrlFunction · 0.85
pushMethod · 0.80

Tested by

no test coverage detected