getUrlTitle.Rd
getUrlTitle.absentfan
Helper function of getChapter retrieving the full url of fandom from fanfiction.net while passing down the title
of a story to be scraped by later functions.
getUrlTitle(story, type, title)
story | Name of fandom being searched. Ex, "Harry Potter." |
---|---|
type | Whether the fandom is from the media type of anime, book, cartoon, comic, game, misc, movie, play, or tv. |
title | The title of the specific fanfic post to be scraped. |
A list including the full url and the title of the fanfic being retrieved.
getUrlTitle("Harry Potter", "book", "Modern Marauders")#> $url #> [1] "https://www.fanfiction.net/book/Harry-Potter/" #> #> $title #> [1] "Modern Marauders" #>