getMaxPageNum {N2H4}R 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)

[Package N2H4 version 0.8.4 Index]