getPagesTitle.Rd
getPagesTitle.absentfan
Helper function of getChapter to get the total number of pages to iterate through
if the catalogue of entries is multiple pages.
getPagesTitle(returns)
returns | A list produced by |
---|
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.
getPagesTitle(list(url="https://www.fanfiction.net/book/Harry-Potter/", title="Modern Marauders"))#> $noPages #> [1] FALSE #> #> $page_use #> [1] "/book/Harry-Potter/?&srt=1&r=103&p=" #> #> $page_num #> [1] 11 #> #> $url #> [1] "https://www.fanfiction.net/book/Harry-Potter/" #> #> $title #> [1] "Modern Marauders" #>