From 34dcd78ba14733589066ed9cdc497fad4c1822e8 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sun, 4 Mar 2018 15:28:04 -0500 Subject: [PATCH] fix 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 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