krishnenduroy52 / Dejavu-API

A API to watch movies, anime, web series, and TV shows.
https://dejavumov.vercel.app/
MIT License
5 stars 5 forks source link

scrape the number of seasons and episode details for each season. #2

Open krishnenduroy52 opened 12 months ago

krishnenduroy52 commented 12 months ago

Problem

  1. scrape the number of season of a TV Show from sflix.is image

  2. scrape the Episode and the Episode Details of a TV Show from sflix.is image

Possible Solution

Structure of the response

{
  "result": {...},
  "season": {
    "0": [
      {
        "id": "random-id-1",
        "episodeNumber": 1,
        "episodeName": "random-name-1"
      },
      {
        "id": "random-id-2",
        "episodeNumber": 2,
        "episodeName": "random-name-2"
      }
    ],
    "1": [
      {
        "id": "random-id-1",
        "episodeNumber": 1,
        "episodeName": "random-name-1"
      },
      {
        "id": "random-id-2",
        "episodeNumber": 2,
        "episodeName": "random-name-2"
      }
    ]
  }
}
Anuragkumarsah commented 12 months ago

can I work on this issue ?

krishnenduroy52 commented 12 months ago

Ok, Sure