X-Git-Url: http://git.ithinksw.org/philo.git/blobdiff_plain/93055ee2e0b531ab2390d39402f0d6bbd0b08874..b3e16b23802c9bc5a99193f9e9551b4378ee1119:/contrib/sobol/search.py?ds=inline diff --git a/contrib/sobol/search.py b/contrib/sobol/search.py index 843af81..33603f3 100644 --- a/contrib/sobol/search.py +++ b/contrib/sobol/search.py @@ -362,7 +362,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): """