Argly get pages function can work.