Find current ComputerUniverse offers for a product and specified attributes, returning each matching result's title, product URL, displayed price, and offer-card text. This supports token-free price-monitoring snapshots. When needed, open the exact product URLs returned by search to verify detailed price, availability, delivery, keyboard layout, and specifications.
Use Cases
Use when the caller provides a product description or constraints such as brand, model family, screen size, RAM, storage, or other searchable attributes. The search query may be changed for every run. Use detail-page verification when the result cards do not expose enough information or when current availability and delivery wording must be reported. No login, API key, or token is required; rerun the direct search URL to obtain a fresh snapshot.
Automation Flow
- Construct the direct search URL, URL-encoding the complete query:
https://www.computeruniverse.net/en/search?query={url-encoded product and constraints}
- In one browser call, navigate to that URL, dismiss the consent banner with
button#consent-reject-allif it is present, then run this evaluator on the loaded results page:
(() => {
const euro = /(?:\d[\d.,]*\s*€|€\s*\d[\d.,]*)/;
const seen = new Set();
const results = [];
for (const a of document.querySelectorAll('a[href*="/en/p/"]')) {
const url = a.href;
if (!url || seen.has(url)) continue;
const title = (a.innerText || a.getAttribute('aria-label') || a.getAttribute('title') || '').replace(/\s+/g, ' ').trim();
let cardText = '';
let p = a;
for (let i = 0; i < 8 && p; i++, p = p.parentElement) {
const text = (p.innerText || '').replace(/\s+/g, ' ').trim();
if (euro.test(text) && text.length < 1800) {
cardText = text;
break;
}
}
if (!cardText) cardText = title;
const price = cardText.match(euro)?.[0] || null;
seen.add(url);
results.push({ title, url, price, cardText });
}
return results;
})()Treat the returned product-card rows as the current offers. The query should contain all required constraints; use
cardTextto verify specifications, availability, and delivery wording when the result title omits them. Do not assume the first result is the correct configuration when multiple variants are returned. For monitoring, store or compare the returnedpricevalues across separate token-free runs.For any candidate needing confirmation, navigate directly to its exact
urlfrom the search results (https://www.computeruniverse.net/en/p/{opaque-product-code}). Replace{spec-terms-json}with a JSON array of caller-supplied specification terms, such as["16 GB", "1 TB"], or[]when none were requested, then run this evaluator:
(() => {
const t = (document.body.innerText || '').replace(/\s+/g, ' ').trim();
const m = t.match(/RRP\s*([\d.,]+\s*€)\s*([\d.,]+\s*€)\s*[-−]\d+%/i);
const specs = {spec-terms-json};
const terms = specs.map(s => s.trim()).filter(Boolean).map(s => s.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'));
const re = new RegExp([...terms, 'Keyboard layout', 'RRP', 'Available immediately', 'Available Soon', 'Delivery time'].join('|'), 'gi');
const evidence = new Set();
for (const match of t.matchAll(re)) {
evidence.add(t.slice(Math.max(0, match.index - 120), match.index + match[0].length + 170).trim());
if (evidence.size === 15) break;
}
return {
title: document.querySelector('h1')?.innerText || null,
price: m?.[2] || null,
rrp: m?.[1] || null,
availability: /Available immediately/i.test(t) ? 'Available immediately' : (/Available Soon/i.test(t) ? 'Available Soon' : null),
delivery: (t.match(/Delivery time\s*\d+[-–]\d+ business days/i) || [])[0] || null,
keyboard: (t.match(/Keyboard layout\s*(German|English[^ ]*)/i) || [])[1] || null,
evidence: [...evidence]
};
})()Possible Friction Points
- ComputerUniverse exposes product detail links in the stable
/en/p/{opaque-product-code}form; use the exacthrefreturned by search rather than guessing the product code. - The search state is directly reachable at
/en/search?query=...; do not visit the homepage or type into the search box first. - A cookie-consent dialog may appear over the results. Reject it with
button#consent-reject-allwhen present before extracting; wait briefly for the results overlay to disappear if necessary. - Product cards are not guaranteed to have one dedicated semantic card selector. The search extractor associates each
/en/p/link with a nearby ancestor containing a euro price and returns the nearby text as evidence. - Results may contain multiple variants. Compare
titleandcardTextagainst every requested constraint rather than assuming the first result is the requested configuration. - Detail pages expose the current price and sometimes the RRP in adjacent text using the
RRP ... current-price -percentagepattern; availability and delivery are plain-text labels and may be absent. - Detail-page fields such as keyboard layout and GPU wording are variant-specific; report them only when the evaluator finds them.
- The workflow is token-free: it uses the public search and product pages and should not add credentials, cookies, API keys, or authorization headers.
Example Result
{
"title": "Example Title",
"price": "999 €",
"rrp": "1.199 €",
"availability": "Available immediately",
"delivery": "Delivery time 3-5 business days",
"keyboard": "German",
"evidence": [
"RRP 1.199 € 999 € -17%",
"Available immediately Delivery time 3-5 business days"
]
}