Fix: ReaperScans Module: Image list was returning invalid URLs

master
masterhc 1 year ago
parent afc56eb450
commit 0bd56ea8b5

@ -193,7 +193,7 @@ module.exports = class ReaperModule
if(image.rawAttrs) if(image.rawAttrs)
{ {
let index = image.rawAttrs.split('"').findIndex(el => el.includes('http')); let index = image.rawAttrs.split('"').findIndex(el => el.includes('http'));
List.push(image.rawAttrs.split('"')[index].replace(/\n/g, '')); List.push(image.rawAttrs.split('"')[index].replace(/\n/g, '').replace(' src=', ''));
} }
} }
return {List, mangaLink} return {List, mangaLink}

Loading…
Cancel
Save