Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 4 commits into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading