From 0b0fbfe5f0fd276a0e994beeffc3c084f06120e8 Mon Sep 17 00:00:00 2001 From: sudoz Date: Wed, 28 Feb 2018 22:39:28 +0800 Subject: [PATCH] Merge remote-tracking branch 'remotes/upstream/master' into feature/optimization # Conflicts: # requests_html.py --- requests_html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requests_html.py b/requests_html.py index 7ab12e0..80a8142 100644 --- a/requests_html.py +++ b/requests_html.py @@ -181,7 +181,7 @@ class BaseParser: for selection in selected ] - return _get_first_or_list(c, first) + return _get_first_or_list(elements, first) def search(self, template: str) -> Result: """Searches the :class:`Element ` for the given Parse template.