get_urls_kj: Scrape Kijiji listing URLs

Description Usage Arguments Value

View source: R/get_urls_kj.R

Description

get_urls_kj scrapes Kijiji listing URLs for a city.

Usage

1
2
3
4
5
6
7
get_urls_kj(
  city_name,
  short_long = "both",
  timeout = 1,
  proxies = NULL,
  quiet = FALSE
)

Arguments

city_name

A character string: the city to be scraped.

short_long

A character string, either "short" or "long" or "both", to determine whether STR or LTR listing URLs should be scraped.

proxies

Character vector of IPs to use for proxy connections. If the length is less than the number of processes set by 'future::plan()', proxies will be recycled.

quiet

A logical vector. Should the function execute quietly, or should it return status updates throughout the function (default)?

Value

A list of URLs.


UPGo-McGill/upgo documentation built on Nov. 20, 2021, 2:26 a.m.