# Generating DataDome Cookies for Footsites

## Setup

### Create an Account for Third-Party Captcha Solver

Go to the **`Accounts`** page and add an account for third-party solvers, such as **`2 Captcha`** or **`CapMonster`**. You need to register an account on [2Captcha](https://2captcha.com/) or [CapMonster](https://capmonster.cloud/en/) to get the API KEY.

### Create Some Captcha Solvers

Go to the **`Security`** page and click the **`+`** button to create some captcha solvers such as **`2 Captcha`** or **`CapMonster`**. It's ok to set proxy to localhost for third-party solver tasks.

<div align="center"><img src="https://lh4.googleusercontent.com/w6Xv5HVNTkOqt8exmPMcocdKpDJp33BvdT5e5tvkA29VYqs4PPJPLzPKSl5OaUckp_d3nZpy-DScaUAyYPNGtHYIG0ZHBMnjspW3hcYHWPCXabDp4Bprzg4s2QNXzBno-4zfIQFZ" alt="Captcha Solver Settings"></div>

### Setup Cookie Harvester

Go to the **`Harvesters`** page and click  **`EDIT`**  of  **`Footsites`** harvester. Set a proxy group and the sessions you wish to run, then click **`SAVE`** to keep the settings for the harvester. Click  **`START`**  to generate DataDome cookies.

![Harvester Settings](https://lh4.googleusercontent.com/Z57vtS4mnMS9Qpg3uH5HfvkpQQ2y4nkXCo2jm09FFWJCtnzHm_DMCLkyi4EiUpP9qSBwOJWCwPu0Mk38_J8aHs8HuOFUA0JMzGmTBntpxaQHx7fFj0laQ4YcA2ZzYT0x6o_RjeiM)

## **Suggestion**

1. The CapMonster solver is the fastest solver among these third-party solvers. It's recommended to run CapMonster tasks for generating cookies.
2. Set the **`Sessions`**  to the maximum value if possible. It's ok to create multiple solver tasks with the same API KEY, and you could also create multiple solver tasks. Different solver tasks could share one API KEY.
3. Currently, the DataDome cookie lasts long for 8 hours, you should start generating cookies before the drop.&#x20;

## Generate unlimited Datadome cookies for restock

* Enable **`FootSites Cookie`** generator. The recommended number of sessions is around 10, and the maximum number of cookies set to 200 or 300.
* Create captcha solvers such as **`2 Captcha`** or **`CapMonster`**, set the same task counts as cookies generated above.

Continous restocking could be secured based on the configuration described above. When the cookies are used up, the generator will automatically start to keep generating cookies, and the harvester will automatically stop when the number of cookies reaches the upper limit. As long as there are sufficient balances in  **`2 Captcha`** or **`CapMonster`** accounts, there will be enough cookies for the task to use.

Note that since there is no need to queue up for restocking, it is not recommended to start many tasks on purpose. 1-20 tasks with a different profile for one single product is suggested.


---

# 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://kylin-inc.gitbook.io/kylinbot/features-1/generate-footsites-datadome-cookie-guides.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.
