diff --git a/canvasapi/paginated_list.py b/canvasapi/paginated_list.py index 0183f93d..bf799874 100644 --- a/canvasapi/paginated_list.py +++ b/canvasapi/paginated_list.py @@ -96,7 +96,10 @@ def _get_next_page(self): else: next_link = None - regex = r"{}(.*)".format(re.escape(self._requester.base_url)) + regex = r"(?:{}|{})(.*)".format( + re.escape(self._requester.base_url), + re.escape(self._requester.new_quizzes_url), + ) self._next_url = ( re.search(regex, next_link["url"]).group(1) if next_link else None