You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
308 B
18 lines
308 B
import AO3 from "../mod.ts";
|
|
|
|
const ao3 = new AO3();
|
|
|
|
await ao3.authenticate(
|
|
"mdrakea3@tutanota.com",
|
|
Deno.env.get("PASSWORD") as string,
|
|
);
|
|
|
|
const work = await ao3.getWork("43757691");
|
|
await work.init();
|
|
|
|
console.log(work.tags);
|
|
|
|
const chapter = work.chapters[0];
|
|
|
|
console.log(await chapter.text);
|