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.
13 lines
239 B
13 lines
239 B
1 year ago
|
import AO3 from "./src/classes/AO3.ts";
|
||
|
|
||
|
const ao3 = new AO3();
|
||
|
|
||
|
const res = await ao3.search({
|
||
|
freeform: ["no beta read we die like sammy"],
|
||
|
limit: 1,
|
||
|
});
|
||
|
|
||
|
await res.update(1);
|
||
|
|
||
|
console.log(await res.results[0].chapters[0].text);
|