assorted fixes

master
Drake 1 year ago
parent 14b055811c
commit e736acc936

@ -177,6 +177,13 @@
"https://deno.land/x/wattpad@v0.1.0/src/classes/Wattpad.ts": "f9b1762e1244207835e6258271690d2c8e0dcf9d69c8513de3f313c97174f249",
"https://deno.land/x/wattpad@v0.1.0/src/types.d.ts": "fe933b610694544ffd9ade8a94aa555c82abaedf293faf5aa61f6ab6d1ee44f8",
"https://deno.land/x/wattpad@v0.1.0/src/utils/http.ts": "a072d8964b1fbd67d18f8a0233031d04fa4d9fc3d9b5961012f4e949b0cf8fbe",
"https://deno.land/x/wattpad@v0.1.1/mod.ts": "9a4ef5a02a1b85f0ca05a38ff8490fabdb0e13afe9a1f0b9a84a41537155ae6c",
"https://deno.land/x/wattpad@v0.1.1/src/classes/Chapter.ts": "00b6097f5ffce2b44a24432fc62be324bf11a80327e2975eb115bc2e7410369c",
"https://deno.land/x/wattpad@v0.1.1/src/classes/Search.ts": "fc290bd9819ce65e3efe6473c4ed3594b07d16569e4a566f06cb04cad274214d",
"https://deno.land/x/wattpad@v0.1.1/src/classes/Story.ts": "bc7b50c9c166e666d9fefbac9b4be74bbe337d85c53f29f30f18416bd379b5a3",
"https://deno.land/x/wattpad@v0.1.1/src/classes/Wattpad.ts": "f9b1762e1244207835e6258271690d2c8e0dcf9d69c8513de3f313c97174f249",
"https://deno.land/x/wattpad@v0.1.1/src/types.d.ts": "3f3a27dd5efbecbf1be6f2dd9c89146ce11c8ccb1b229d18f16d32635338b844",
"https://deno.land/x/wattpad@v0.1.1/src/utils/http.ts": "a072d8964b1fbd67d18f8a0233031d04fa4d9fc3d9b5961012f4e949b0cf8fbe",
"https://raw.githubusercontent.com/kt3k/callsites/v1.0.0/mod.ts": "a5fdfa7916d03459fd4830ca526d493d5f4ce0ea91619905d524c9a3a5c3cd15",
"https://raw.githubusercontent.com/nomyTx/gas/bef3e8b8b51a9929b915b3e13df07290a37832ba/jsx.ts": "adf05a2478b48bc0c1e4e18db87c7c03d0894e3751be99571c3e63375471d5d3"
},

@ -63,7 +63,7 @@ export default async (params: URLSearchParams) => {
id: ch.id,
link: `https://voltpad.ruthenic.com/story?id=${story.id}&chapter=${idx}`,
content: ch.html,
date: new Date(ch.partJSON.modifyDate),
date: new Date(ch.partJSON.createDate),
image: ch.partJSON.photoUrl ?? undefined
});
});

@ -97,7 +97,7 @@ export default async (params: URLSearchParams) => {
<p>
Original URL:{" "}
<a href={story.storyJSON.url}>
{story.storyJSON.url}
{decodeURI(story.storyJSON.url)}
</a>
<br />
Author:{" "}

@ -1,5 +1,5 @@
export * from "https://deno.land/x/wattpad@v0.1.0/mod.ts";
import Wattpad, { Story } from "https://deno.land/x/wattpad@v0.1.0/mod.ts";
export * from "https://deno.land/x/wattpad@v0.2.0/mod.ts";
import Wattpad, { Story } from "https://deno.land/x/wattpad@v0.2.0/mod.ts";
import config from "./config.ts";
const watt = new Wattpad();

Loading…
Cancel
Save