Skip to content

Commit

Permalink
refactor(streamwish): refactor streamWish decoding to get a proper HL…
Browse files Browse the repository at this point in the history
…S urls (#585)

* feat(streamwish): Refactor StreamWish decoding to get proper hls urls

* [CodeFactor] Apply fixes to commit e85f989

* fix: node.js ci errors

---------
Co-authored-by: Marouane <[email protected]>
  • Loading branch information
2004durgesh authored Sep 24, 2024
1 parent fe958cc commit ecac3fc
Show file tree
Hide file tree
Showing 13 changed files with 264 additions and 108 deletions.
32 changes: 29 additions & 3 deletions dist/extractors/streamwish.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/extractors/streamwish.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/providers/anime/gogoanime.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/providers/anime/gogoanime.js.map

Large diffs are not rendered by default.

9 changes: 8 additions & 1 deletion dist/providers/anime/zoro.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AnimeParser, ISearch, IAnimeInfo, IAnimeResult, ISource, IEpisodeServer, StreamingServers } from '../../models';
import { AnimeParser, ISearch, IAnimeInfo, IAnimeResult, ISource, IEpisodeServer, StreamingServers, IAnimeEpisode } from '../../models';
declare class Zoro extends AnimeParser {
readonly name = "Zoro";
protected baseUrl: string;
Expand Down Expand Up @@ -51,6 +51,12 @@ declare class Zoro extends AnimeParser {
fetchSchedule(date?: string): Promise<ISearch<IAnimeResult>>;
fetchSpotlight(): Promise<ISearch<IAnimeResult>>;
fetchSearchSuggestions(query: string): Promise<ISearch<IAnimeResult>>;
/**
* Fetches the list of episodes that the user is currently watching.
* @param connectSid The session ID of the user. Note: This can be obtained from the browser cookies (needs to be signed in)
* @returns A promise that resolves to an array of anime episodes.
*/
fetchContinueWatching(connectSid: string): Promise<IAnimeEpisode[]>;
/**
* @param id Anime id
*/
Expand All @@ -60,6 +66,7 @@ declare class Zoro extends AnimeParser {
* @param episodeId Episode id
*/
fetchEpisodeSources: (episodeId: string, server?: StreamingServers) => Promise<ISource>;
private verifyLoginState;
private retrieveServerId;
/**
* @param url string
Expand Down
75 changes: 70 additions & 5 deletions dist/providers/anime/zoro.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/providers/anime/zoro.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit ecac3fc

Please sign in to comment.