Cda Profile

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

ParameterTypeExampleInformation
userstringdocchiexample
keywordstringDogs
typestringspacesYou 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.
spacesstring/integer3example If you are using type s0e0 you also need to determine where the S01E01 format is located.
episodestring/integer1You have two options to choose from one is to type number e.g. 1, 2 or 12.
websitestringcdaprofile
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!" }