Undo specifying parser.
@@ -186,7 +186,7 @@ class AtomicLineListClass(BaseQuery):
if self._default_form_values is None:
response = self._request("GET", url=self.FORM_URL, data={},
timeout=self.TIMEOUT)
- bs = BeautifulSoup(response.text, 'lxml')
+ bs = BeautifulSoup(response.text)
form = bs.find('form')
self._default_form_values = self._get_default_form_values(form)
default_values = self._default_form_values
@@ -250,7 +250,7 @@ class AtomicLineListClass(BaseQuery):
return response
def _parse_result(self, response):
- data = StringIO(BeautifulSoup(response.text, 'lxml').find('pre').text.strip())
+ data = StringIO(BeautifulSoup(response.text).find('pre').text.strip())
# `header` is e.g.:
# "u'-LAMBDA-VAC-ANG-|-SPECTRUM--|TT|--------TERM---------|---J-J---|----LEVEL-ENERGY--CM-1----'"
# `colnames` is then
@@ -293,7 +293,7 @@ class AtomicLineListClass(BaseQuery):
input = {}
response = self._request("GET", url=self.FORM_URL, data={},
timeout=self.TIMEOUT)
- bs = BeautifulSoup(response.text, 'lxml')
+ bs = BeautifulSoup(response.text)
form = bs.find('form')
# cache the default values to save HTTP traffic
if self._default_form_values is None:
