From e5a7be391beb1afe97bf61677fcfbfd42908e32c Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sun, 4 Mar 2018 15:26:38 -0500 Subject: [PATCH] fix Signed-off-by: Kenneth Reitz --- requests_html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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