📅  最后修改于: 2022-03-11 15:01:16.946000             🧑  作者: Mango
const ao3scraper = require('ao3scraper')
//replace with your fic, this is just for demo
const pageURL = "https://archiveofourown.org/works/35864404"
ao3scraper(pageURL).then(ficInfo => {
//do something with results
}).catch(err => {
// This code block will also execute if the link is a 404
console.error(err)
});