ffscraper

Overview

ffscraper: A super simple scraper for FanFiction.Net


Motivation

This combined some lessons learned from my post on Network of Code Lyoko FanFiction. I’d also been reading about time-evolving networks and their role in recommendation systems, so I wrote a Python package to assist with indexing content on FanFiction.Net.

Getting Started

pip install ffscraper

Interact with the scraper from the command line:

python -m ffscraper --help
python -m ffscraper -s 123

Or import the Python package and start building your own systems:

import ffscraper as ffs

sids = ["123", "124", "125"]

for id in sids:
  story = ffs.fanfic.story.scraper(id)
  print(story)