getAllChapters: Iterate Through All Chapters in Fanfiction Being Scraped

Description Usage Arguments Value Examples

View source: R/getAllChapters.R

Description

getAllChapters.absentfan Helper function of getChapter iterating through scraping chapters from specific entry in fanfiction.net.

Usage

1
getAllChapters(returns)

Arguments

returns

A list generated by getTitles including a url (of fanfiction.net) and the href of the story being queried.

Value

A data frame with the scraped text and chapter labels for each entry.

Examples

1
getAllChapters(list(url="https://www.fanfiction.net",href="/s/13084808/1/Modern-Marauders"))

ekmaus19/absentfan documentation built on Nov. 20, 2019, 3:20 a.m.