> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.ada.cx/llms.txt.

# Exclude page elements from a web import

You can now give a web import a list of CSS selectors. Before each page becomes an article, the scraper removes the elements that match them, such as a site footer that repeats on every page. The selectors apply from the next sync of the source.

A source takes up to 20 selectors, of up to 75 characters each. You cannot change them while a sync of the source runs. If the selectors would remove all of the content of a page, the page keeps its last imported version.

## Where to set them

This section lists where you can set the selectors.

* The dashboard: in the **Add website** window or a source's **Settings** window, open **Advanced settings**. Then enter one selector on each line in **Exclude selectors**. The info icon next to the field lists the selectors that you can use.
* The Knowledge API: `exclude_selectors` on `PATCH /v2/knowledge/sources/{id}`. Every source response returns it.
* The MCP server: `exclude_selectors` in `edit_agent_config`. Only an owner or an admin can set it.
* Ada CLI: `--exclude-selectors` and `--clear-exclude-selectors`.

For the supported selectors, see [Web import](/docs/knowledge/content-ingestion/web-import#exclude-page-elements).