🔧 Refactoring still.

This commit is contained in:
2021-04-20 18:11:29 -07:00
parent 69ca5fdea0
commit 21c53fccb7
3 changed files with 68 additions and 70 deletions

View File

@@ -11,13 +11,14 @@ import {
import { Request, Response } from "express";
router.route("/getComicCovers").get(async (req: Request, res: Response) => {
const foo = await extractArchive({
name: "Ozymandias 001.cbr",
extension: ".cbr",
containedIn: "comics/(2012) Before Watchmen - Ozymandias",
const options = {
name: "Gyo v01 (2003) (Digital) (LostNerevarine-Empire)",
extension: ".cbz",
containedIn: "comics/ITOU Junji - Gyo",
isFile: true,
isLink: false,
});
};
const foo = await extractArchive(options);
// const foo = await extractMetadataFromImage(
// "./comics/covers/Ghosts and Ruins-001.jpg",
// );