diff --git a/requests_html.py b/requests_html.py index 0238863..9740f46 100644 --- a/requests_html.py +++ b/requests_html.py @@ -418,7 +418,7 @@ class HTML(BaseParser): while True: yield next try: - next = self.next(fetch=True).html + next = next.next(fetch=True).html except AttributeError: break