R/getMaxPageNum.R
getMaxPageNum.Rd
Get Max Page Number
getMaxPageNum(turl, max = 100)
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>
is also interval to try max page number is numeric. Default is 100.
Get numeric
if (FALSE) { getMaxPageNum("https://news.naver.com/main/list.naver?mode=LS2D&mid=shm&sid1=103&sid2=376") }