May-23-2018, 06:01 PM
Ok - when I run it - I get : Fetching main page for entry "api#". It gets to the end then I get this error.
Error:Traceback (most recent call last):
File "C:\Python Tutorials\LARS with API.py", line 97, in <module>
GetCompletions('apis.txt')
File "C:\Python Tutorials\LARS with API.py", line 26, in __init__
self.parse_and_save(getpdfs=True)
File "C:\Python Tutorials\LARS with API.py", line 47, in parse_and_save
soup = BeautifulSoup(f.read(), 'lxml')
File "C:\Users\toliver\AppData\Local\Programs\Python\Python36\lib\site-packages\bs4\__init__.py", line 165, in __init__
% ",".join(features))
bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser library?
>>>