CDA Profile
Basic Usage
import Scraper from "@docchi/scraping-anime-websites-poland";
console.log(
await Scraper({
user: "SziszoweSubki",
keyword: "Dogs",
type: "spaces",
spaces: 5,
episode: 4,
website: "cdaprofile",
})
);
Parameters
Parameter | Type | Example | Information |
---|---|---|---|
user | string | docchi | |
keyword | string | Dogs | |
type | string | spaces | You have two types to choose from, one is spaces and the other one is s0e0 which you should use when episode number is presented in S01E01 format. |
spaces | string/ integer | 3 | If you are using type s0e0 you also need to determine where the S01E01 format is located. |
episode | string/ integer | 1 | You have two options to choose from one is to type number e.g. 1, 2 or 12 . |
website | string | cdaprofile |
Responses
Response 200
{
"status": 200,
"message": "Success",
"episode_url": [
{
"player": "CDA",
"url": "https://www.cda.pl/video/154943156e",
"episode_thumbnail": "//icdn.2cda.pl/vid/thumbs/d8afc28a118937139549d2b18636f848-8301.jpg_ooooxoooox_1280x720.jpg"
}
],
"episode_next_url": 5
}
Response 204
Episode is missing.
{
"status": 204,
"message": "No Content!"
}
Response 400
Wrong type of request.
{
"status": 400,
"message": "Unknown type of request. Acceptable (spaces, s0e0)"
}
Response 500
{ "status": 500, "message": "Something went wrong!" }