Skip to content
This repository has been archived by the owner on Jul 6, 2024. It is now read-only.

All episodes are not being scraped. #22

Open
dakshy opened this issue May 7, 2023 · 1 comment
Open

All episodes are not being scraped. #22

dakshy opened this issue May 7, 2023 · 1 comment

Comments

@dakshy
Copy link

dakshy commented May 7, 2023

API URL: https://imdb-api.projects.thetuhin.com/title/tt15527388/season/1
IMDb URL: https://www.imdb.com/title/tt15527388/episodes?season=1

Extraction is improper. Please look into this.

@bla0r
Copy link

bla0r commented Jul 25, 2023

Because it breaks the loop when theres no plot and image, you can replace the lines in helpers/SeriesFetcher.js (143-147) with:

  if (image?.includes("spinning-progress.gif")) {
    image = null;
    image_large = null;
  }

  if (plot.includes("Know what this is about")) {
   plot = null;
  }

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants