# Content Scanner

## How Content scan works

Introducing Content Scanner, a powerful feature of my bot! With Content Scanner enabled, every message containing a link in a Discord channel is instantly scanned. The bot extracts the HTML content from the linked website and compares it against your server owner's blacklisted keyword phrases.

Content Scanner flags any domains based on their HTML content and matches them against your specified blacklisted keywords. This means you don't even need to know the exact URL to block undesirable links. For example, you can easily block specific YouTube links with video titles such as "How to get free Discord Nitro," "Get free Steam games," or "How to become rich with mining."

## Important to know

If executing this command with "orange, apple, banana", this will count as 1 phrase!

The bot will use these 3 separate words and try match against the html content from a domain. It doesn't matter which order these words are posted. As long as the html content contains all of these 3 words, the bot will flag that domain and sanction the user accordingly.

## Configurational options

<table data-header-hidden><thead><tr><th width="231"></th><th></th></tr></thead><tbody><tr><td>Regex</td><td>Accept only ECMAscript/Javascript regex language. Visit this <a href="https://regex101.com/">site</a> to test your regex expressions.</td></tr><tr><td>Keywords</td><td>You can configure additional phrase such as "gold, red, yellow, pink, purple" which means the bot will then scan websites content for any of these phrases.</td></tr></tbody></table>

<figure><img src="/files/lfG9SpaVcnsypyEQYtY8" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
It is highly recommended you visit following pages [How-to Content Scanner](/commands/content-scan.md) <mark style="color:red;">**and**</mark> [Usage/Tips](/commands/content-scan/usage-tips.md) on how to effectively use this datascraping feature.
{% endhint %}

## Default: <mark style="color:red;">Disabled</mark>

To configurate this scanner, follow these steps:

> **Step 1:** /settings\
> **Step 2:** *Select* Server scanners\
> **Step 3:** Content scanner


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.dis.tf/scanner-types/content-scan.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
