diff --git a/FAAPI.py b/FAAPI.py index 67772bb..dc89792 100644 --- a/FAAPI.py +++ b/FAAPI.py @@ -60,4 +60,4 @@ class FAAPI: if res.status_code >= 400: raise Exception( 'Got status code {} when trying to get URL {}'.format(res.status_code, url)) - return BeautifulSoup(res.content) + return BeautifulSoup(res.content, 'lxml') diff --git a/requirements.txt b/requirements.txt index 7c27742..f9ba7f6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ requests~=2.23.0 bs4~=0.0.1 beautifulsoup4~=4.9.0 -selenium~=3.141.0 \ No newline at end of file +selenium~=3.141.0 +lxml~=4.5.0 \ No newline at end of file