Quick wins for a faster PC:
Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Repair Windows errors before they cause bigger problemsFix Now →Scan for outdated or missing drivers - takes under a minuteDriver Scan →iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more
If a URL-to-Markdown extractor returns a cookie banner instead of an article, it has selected the wrong page region. Text density can help rank candidate content, but it cannot tell whether text serves the page’s purpose. Diagnose the source HTML, rendered page, and Markdown output; then use semantic clues, page context, and—when the site template is known—carefully tested selectors.
Why a cookie banner can become the “article”
A consent banner can sit in the same page markup as an article, complete with explanatory text and controls. It is a real interface component, but that does not make it the page’s main content. GOV.UK’s example identifies its cookie banner with a named class and a region role with an accessible label, illustrating how a banner can be distinguishable from the page content: GOV.UK Design System cookie-banner guidance.
The selection problem is semantic: the extractor found text, but chose material that does not fulfill the page’s purpose. Google describes main content as the material that directly helps a page achieve its purpose. That can include more than ordinary article prose—for example, interactive features or information presented in tabs: Google Search Central’s guidance on helpful content.
Why text density is not enough
Text density is a useful clue, not a definition of meaningful content. A banner can contain a compact explanation and buttons, while valuable content may be spread across headings, lists, tables, or separate page regions. A technical guide on boilerplate removal describes combining density with other signals, including link density, DOM class or ID hints, and whether text appears in coherent contiguous blocks: link.sc’s guide to removing boilerplate from scraped pages.
Those signals are still heuristics. Article-oriented scoring can omit meaningful documentation tables or split a multi-part page into fragments. It may also be a poor fit for forums, product pages, and landing pages, where the page’s purpose and useful content differ from a conventional article. There is no universal density threshold that can reliably decide what every page is “about.”
Trace the failure from source to Markdown
Compare three versions of the same URL: the original HTML, the browser-rendered page, and the extractor’s Markdown output. This helps distinguish a selection error from a loading problem.
- Check the source HTML. Find the banner and article text in the response markup. Note whether the banner is a distinct region and whether the article content is present at all.
- Check the rendered DOM. Look for semantic elements such as
<main>and<article>, accessible region labels, and stable classes or IDs that distinguish the article from the banner. GOV.UK’s example demonstrates an explicitly named cookie-banner region. - Check the Markdown output. See whether the article is missing, whether banner text is the only extracted content, or whether both appear but in the wrong order. These are different symptoms and may point to different parts of the extraction process.
- Check when the article appears. If its text is absent from the initial HTML but present after the page loads, the extractor may need browser rendering and a wait for the relevant content. If it is already present, focus on region selection instead.
Choose a fix that fits the failure
Use semantic and structural clues first
When available, prefer a candidate region clearly marked as the page’s main content rather than choosing a block solely because it has a favorable text score. Use elements such as <main> or <article> as clues, not guarantees: pages vary, and a region’s label or location must be interpreted in context.
Free tools Windows power users keep installed
One-click scans. No signup required.
#1 Best Overall
Apply a narrow site-specific rule when a template repeats the problem
If the same site template repeatedly elevates a consent banner, a validated selector for the article region—or a narrowly scoped rule that excludes the banner—may be more reliable than a global density adjustment. This is a practical inference from the documented banner markup and the known limits of article-oriented heuristics, not a tested fix for any particular extractor. Test the rule on representative pages, including pages whose useful content uses different layouts, so removing the banner does not remove legitimate material.
Render the page when content depends on JavaScript
If the article is added after the initial response, use an extraction path that renders the page and waits for the content to appear. For example, PageBolt’s API documentation describes browser-based extraction, Markdown output, and an optional blockBanners setting: PageBolt API documentation. That is a vendor description of product capabilities, not independent evidence that its extraction is accurate or a comparative result.
Evaluate the result against the pages you process
Judge an extraction method on the kinds of pages you actually need, rather than assuming a method optimized for articles will suit every URL. Check whether it:
- handles pages whose content is rendered by JavaScript;
- allows explicit content selectors or removal rules, if you need them;
- preserves meaningful headings, tables, and lists; and
- selects the intended content across your actual page types, such as articles, documentation, forums, e-commerce pages, or landing pages.
No accuracy percentage or universally best extractor is established here. Without testing your URL and implementation, the likely fix can be narrowed to content selection, rendering, or both—but not confirmed.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Quick Recap
Best Value
Rank #3
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

