Bug fixes, finding "next" link of pagination

Add more strict regex, using URL regex and link ID