Skip to content
This repository was archived by the owner on Nov 20, 2021. It is now read-only.

Commit 78e7672

Browse files
committedApr 3, 2021
Fix duplicate chapter images
1 parent e9e27c2 commit 78e7672

File tree

2 files changed

+11731
-28
lines changed

2 files changed

+11731
-28
lines changed
 

‎package-lock.json

+11,728-25
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/VoidScans/VoidScans.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ import {VoidScansParser} from "./VoidScansParser";
1414
const BASE = "https://voidscans.net"
1515

1616
export const VoidScansInfo: SourceInfo = {
17-
icon: "icon.png",
18-
version: "1.1.0",
17+
icon: "",
18+
version: "1.2.0",
1919
name: "VoidScans",
2020
author: "PythonCoderAS",
2121
authorWebsite: "https://github.com/PythonCoderAS",
@@ -67,7 +67,7 @@ export class VoidScans extends Source {
6767
const pages: string[] = [];
6868
let page = await this.getChapterPage(mangaId, chapterId);
6969
let num = 2;
70-
while (page){
70+
while (page && !pages.includes(page)){
7171
pages.push(page)
7272
page = await this.getChapterPage(mangaId, chapterId, num);
7373
num++;

0 commit comments

Comments
 (0)
This repository has been archived.