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