Skip to content

Commit

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

relevant commit manga-download/hakuneko-plugins@1a8f9e4

A single line change tbh

* filemoon: add delay
  • Loading branch information
MikeZeDev authored Apr 24, 2024
1 parent 274fdda commit de0673b
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 de0673b

Please sign in to comment.