getPagesTitle: Get Pages to Iterate When Scraping Specific Story

Description Usage Arguments Value Examples

View source: R/getPagesTitle.R

Description

getPagesTitle.absentfan Helper function of getChapter to get the total number of pages to iterate through if the catalogue of entries is multiple pages.

Usage

1
getPagesTitle(returns)

Arguments

returns

A list produced by getUrlTitle.absentfan including the full url of the associated fandom and the title of the fanfic being retrieved.

Value

A list including noPages (bool whether there are multiple pages of entries to scrape), page_use (href, if needed), page_num (total number of pages to iterate), url, and story title.

Examples

1
getPagesTitle(list(url="https://www.fanfiction.net/book/Harry-Potter/", title="Modern Marauders"))

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