> For the complete documentation index, see [llms.txt](https://wopehq.gitbook.io/muninn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wopehq.gitbook.io/muninn/config/selector.md).

# Selector

We determine which element in the DOM the data we want to receive is in with the help of a selector. In this way, when we parse the HTML, muninn knows what data it needs to receive.

{% code title="HTML" %}

```markup
<div class="parent">
  <div class="blue">Blue Text</div>
</div>

```

{% endcode %}

Let's get the content of the element with the `blue` class.

{% code title="Config" %}

```javascript
{
    "blueText": ".blue" 
}
```

{% endcode %}

{% code title="Output" %}

```javascript
{
    "blueText": "Blue Text" 
}
```

{% endcode %}

### Alternative Selector

Now let's specify an alternative selector.

{% code title="Config" %}

```javascript
{
    "greenOrBlueText": ".green, .blue"
}
```

{% endcode %}

Since there is no element with `green` class, it will still get the content of the element with `blue` class.
