get_ads: Gets all the ads for a given webpage and saves them to a...

Description Usage Arguments Examples

Description

Gets all the ads for a given webpage and saves them to a folder

Usage

1
get_ads(n, page, animal, dir, save_html = TRUE, trace = TRUE)

Arguments

n

number of pages to get

page

gumtree, tradingpost or petrescue

animal

cat or dog

dir

folder to save pages in

save_html

boolean if true save to folder dir. If false then just prints to screen

trace

prints out urls as gets them

Examples

1
get_ads(1, "gumtree", "dog", "~/Desktop/")

jonotuke/adParser documentation built on May 19, 2019, 8:34 p.m.