getMaxPageNum: Get Max Page Number

View source: R/getMaxPageNum.R

getMaxPageNumR Documentation

Get Max Page Number

Description

Get Max Page Number

Usage

getMaxPageNum(turl, max = 100)

Arguments

turl

is target url include sid1, sid2, date like below. <http://news.naver.com/main/list.nhn?sid2=265&sid1=100&mid=shm&mode=LS2D&date=20161102>

max

is also interval to try max page number is numeric. Default is 100.

Value

Get numeric

Examples

## Not run: 
  getMaxPageNum("https://news.naver.com/main/list.naver?mode=LS2D&mid=shm&sid1=103&sid2=376")
  
## End(Not run)

N2H4 documentation built on Sept. 15, 2022, 5:14 p.m.