ashim888 / awis

A python script to query Amazon's Alexa Web Information Service (AWIS).
GNU General Public License v3.0
37 stars 18 forks source link

Added lxml to list of dependencies #1

Closed jkgeyti closed 7 years ago

jkgeyti commented 7 years ago

Bug:

Traceback (most recent call last):
  <REDACTED> in
    obj.urlinfo()
  File "<REDACTED>/myawis/__init__.py", line 58, in urlinfo
    soup=BeautifulSoup(r.text.encode('utf-8'),'xml')
  File "<REDACTED>/lib/python2.7/site-packages/bs4/__init__.py", line 156, in __init__
    % ",".join(features))
bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: xml. Do you need to install a parser library?

Solution:

pip install lxml