Skip to content

Commit

Permalink
Fix Aniwave : fix "Filemoon" support (manga-download#7021)
Browse files Browse the repository at this point in the history
* Fix Aniwave : fix "Filemoon" support

relevant commit https://github.com/manga-download/hakuneko-plugins/commit/1a8f9e425562d6634b8c0454f6d3f1328caa8321

A single line change tbh

* filemoon: add delay
  • Loading branch information
MikeZeDev authored and serge-reboul committed Jun 30, 2024
1 parent 7363ffe commit 6d8844c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/web/mjs/connectors/NineAnime.mjs

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions src/web/mjs/videostreams/FileMoon.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ export default class FileMoon {

async getPlaylist() {
const script = `
new Promise(resolve => {
resolve(window.videop.hls.url);
new Promise((resolve, reject) => {
setTimeout(() => {
resolve(window.videop.hls.url);
}, 3000);
});
`;
const request = new Request(this._uri);
Expand Down

0 comments on commit 6d8844c

Please sign in to comment.