📌  相关文章
📜  从 ao3 抓取数据 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:16.946000             🧑  作者: Mango

代码示例1
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)
});