A simple Javascript code to scrape data from Archive of Our Own.
- Node.Js 6 or higher
- NPM 3 or higher
- Clone or download this repo
- Install the required dependencies with
npm install
- In
app.js
add the Ids of the fics you want to scrape in theids
array. - In your terminal, write
node app.js
and that'll generate a json file with the data you want :) - The json file will contain the following data: id, title, link, authors, authors links, summary, rating and language of the fics, but you can check the code and add more data if you need it.
I'm currently working on a demo, but in the meanwhile, you can check an example of the json file this code create.
The MIT License (MIT)