# Migrating from Digitalcriminal's script

***

## Set Medatadata&#x20;

{% hint style="info" %}
**Your previous metadata files are compatible so only the path needs to match**
{% endhint %}

{% content-ref url="/pages/DA9pbtluodnxm8xdStBZ" %}
[Setting metadata path](/of-scraper/getting-started/config-options/setting-metadata-path.md)
{% endcontent-ref %}

***

## Set save path

{% hint style="info" %}
**Most settings should be transferable**\
**Including the defaults**
{% endhint %}

{% content-ref url="/pages/CuSkjFnvwVUlwBABT3i3" %}
[File Output Options](/of-scraper/getting-started/config-options/options/file-output-options.md)
{% endcontent-ref %}

## Example

See the advanced DC config

{% content-ref url="/pages/jrlNGOJkoW97nQV30uHK" %}
[Example Configs](/of-scraper/getting-started/config-options/example-configs.md)
{% endcontent-ref %}

### save\_location

```
 "save_location": "/Onlyfans",
```

### dir format

```
 "dir_format": "{model_username}/{responsetype}/{value}/{mediatype}/"
```

Means a full path like

<pre class="language-markup"><code class="lang-markup"> "/<a data-footnote-ref href="#user-content-fn-1">Onlyfans/</a><a data-footnote-ref href="#user-content-fn-2">modelA/Messages/Free/Images/</a>"
</code></pre>

1. /Onlyfans is the save\_location
2. /modelA/Messages/Free/Images/ is the dir\_format

### metadata

<pre><code>"metadata": "<a data-footnote-ref href="#user-content-fn-3">{save_location}</a>/{model_username}/Metadata"
</code></pre>

This refers to a directory path designated for storing 'user\_data.db'.

```
"OnlyFans/ModelA/Metadata"
```

[^1]: save\_location

[^2]: dir\_format

[^3]: Save location from config


---

# 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://of-scraper.gitbook.io/of-scraper/getting-started/migrating-from-digitalcriminals-script.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.
