Skip to content

Commit

Permalink
Doc index.
Browse files Browse the repository at this point in the history
  • Loading branch information
hayesall committed May 11, 2018
1 parent 6e08b9e commit b7d77e7
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Collaborative Filtering in FanFiction Networks

![PyPI - Python Version](https://img.shields.io/pypi/pyversions/ffscraper.svg?style=flat-square) ![PyPI](https://img.shields.io/pypi/v/ffscraper.svg?style=flat-square) ![license](https://img.shields.io/github/license/batflyer/FanFiction-Collaborative-Filtering.svg?style=flat-square)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/ffscraper.svg?style=flat-square) ![PyPI](https://img.shields.io/pypi/v/ffscraper.svg?style=flat-square) ![license](https://img.shields.io/pypi/l/ffscraper.svg?style=flat-square)

"ffscraper" Yet another set of scraping tools for FanFiction.Net

Expand Down
62 changes: 53 additions & 9 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,62 @@
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to ffscraper's documentation!
=====================================
ffscraper
=========

*Yet another Python package for scraping FanFiction.Net...*

``pip install ffscraper``

:Authors:
Alexander L. Hayes (`@batflyer <https://github.com/batflyer/>`_)

:Version: 0.2.0

:Documentation: :ref:`modindex`
:Search: :ref:`search`

:Source: `GitHub <https://github.com/batflyer/FanFiction-Collaborative-Filtering/>`_
:Bugtracker: `GitHub Issues <https://github.com/batflyer/FanFiction-Collaborative-Filtering/issues/>`_

.. image:: https://img.shields.io/pypi/pyversions/ffscraper.svg?style=flat-square
.. image:: https://img.shields.io/pypi/v/ffscraper.svg?style=flat-square
.. image:: https://img.shields.io/pypi/l/ffscraper.svg?style=flat-square

FanFiction.Net was established in 1998 and is among the world's largest collection of user-submitted fanfiction (works of fanfiction authored by fans of existing stories; such as movies, books, or TV shows). Recently the large amount of easily-available user content has drawn interest in analyzing the content and creative differences between original works and their fanfiction counterparts [#]_, and [#]_ created an anonymized dataset of the metadata.

This project is twofold: creating open-source systems for scraping content, and using that content to build open-source systems which can be used by the FanFiction.Net community.

Installation and Usage
======================

Interact with the scraper from the commandline:

.. code-block:: bash
$ pip install ffscraper
$ python -m ffscraper --help
$ python -m ffscraper -s 123
Or import the Python package and start building your own systems:

.. code-block:: python
from __future__ import print_function
import ffscraper as ffs
sids = ['123', '124', '125']
for id in sids:
story = ffs.fanfic.story.scraper(id)
print(story)
.. toctree::
:maxdepth: 2
:caption: Contents:

ffscraper.rst


Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
.. [#] Milli, Smitha and David Bamman, "Beyond Canonical Texts: A Computational Analysis of Fanfiction." Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing.
.. [#] Yin, K., Aragon, C., Evans, S. and Katie Davis. "Where No One Has Gone Before: A Meta-Dataset of the World's Largest Fanfiction Repository." Proceedings of the 2017 CHI Conference on Human Factors in Computing Systems. ACM, 2017.

0 comments on commit b7d77e7

Please sign in to comment.