get_posts_list: Extract list of urls, titles, n_push from a board

Description Usage Arguments Functions Examples

View source: R/get_posts_list.R

Description

Extract list of urls, titles, n_push from a board

Usage

1
2
3
4
5
6
7
8
get_posts_list(board_name, max_post = 1000L, parallel = TRUE,
  mc.cores = NULL, ...)

get_post_urls(board_name, max_post = 1000L, parallel = TRUE,
  mc.cores = NULL, ...)

get_titles(board_name, max_post = 1000L, parallel = TRUE, mc.cores = NULL,
  ...)

Arguments

board_name

String of PTT board name.

max_post

Maximun number of the lastest posts. Default 1000. If set to -1, will get all of listpage_urls. [Caucious!].

parallel

If TRUE, the default, will use parallel threads.

mc.cores

Number of parallel cores to use. Default NULL to auto detect.

Functions

Examples

1
2
3
get_posts_list("Gossiping", max_post = 100)
get_post_urls("Gossiping", max_post = 100)
get_titles("Gossiping", max_post = 100)

leoluyi/PTTr documentation built on Aug. 6, 2019, 4:47 a.m.