Skip to content

arzkar/Fanfiction-Finder-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fanfiction Finder API

License

This API can scrape both ffnet and ao3 fanfiction metadata. Currently it can search for ao3 works, series and ffnet stories.

Hosting

  • Install all the dependencies using pip install -r requirements.txt
  • Then run main.py and the API will be accessible at 0.0.0.0:5000. See the examples below.

API Usage

To search using the API, you need to host the API in your server. I will use localhost for the examples below.

For ao3 works searching-

https://0.0.0.0:5000/search?=ao3 Prince of Slytherin

For ao3 series searching-

https://0.0.0.0:5000/search?=ao3 Prince of Slytherin series

For ffn story searching-

https://0.0.0.0:5000/search?=ffn cadmean victory

For searching using url-

https://0.0.0.0:5000/search?=https://www.fanfiction.net/s/11446957/1/A-Cadmean-Victory

About

An API to scrape both ffnet and ao3 fanfiction metadata

Resources

License

Stars

Watchers

Forks

Languages