Skip to content

Commit

Permalink
simplified ads filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeZeDev authored Sep 1, 2023
1 parent 18c1115 commit a70db3a
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/web/mjs/connectors/ReaperScansID.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,9 @@ export default class ReaperScansID extends WordPressMadara {
this.url = 'https://shinigami.ae';
this.queryChapters = 'div.chapter-link > a';
this.queryChaptersTitleBloat ='span.chapter-release-date';

this.queryPages = 'div.page-break source[data-src]';
this.links = {
login: 'https://shinigami.ae/login'
};
}

async _getPages(chapter) {
return (await super._getPages(chapter)).filter(picture => {
const pic= JSON.parse(atob(new URL(picture).searchParams.get('payload')));
return pic.url.match(/WP-Manga/i);
});
}
}

0 comments on commit a70db3a

Please sign in to comment.