X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/fb2124a285959c8952d2903deefdbea421c5272f..43595c8f3220d11f47554e9755f5b54e283f635e:/contrib/sobol/search.py?ds=sidebyside diff --git a/contrib/sobol/search.py b/contrib/sobol/search.py index 36c2b5d..4f89e76 100644 --- a/contrib/sobol/search.py +++ b/contrib/sobol/search.py @@ -361,7 +361,7 @@ else: def parse_response(self, response, limit=None): strainer = self.strainer soup = BeautifulSoup(response, parseOnlyThese=strainer) - return self.parse_results(soup[:limit]) + return self.parse_results(soup.findAll(recursive=False, limit=limit)) def parse_results(self, results): """