consumet.ts
consumet.ts copied to clipboard
MovieHdWatch and Goku Provides Return 404 When Request A Episode Sources
Describe the bug
MovieHdWatch and Goku Can't receive Episode Sources
Steps to reproduce
- Download the npm package
- Import provider's as mentioned in documents
- Try get get episode sourse detail
Expected behavior
Need to return episode source details as mentioned in the document
Actual behavior
Instead of episode details it's returning 404
Additional context
@Injectable()
export class TvShowsService {
private moviesHd: MovieHdWatch;
constructor() {
this.moviesHd = new MOVIES.MovieHdWatch();
}
async fetchEpisodeSources(sourceNumber: string, sourceLink: string) {
try {
return await this.moviesHd.fetchEpisodeSources('1429498', 'tv/watch-lovely-runner-online-107908');
} catch (e) {
console.log(e);
throw e;
}
}