Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parser issue #2

Closed
peterbsmyth opened this issue May 25, 2017 · 4 comments
Closed

Parser issue #2

peterbsmyth opened this issue May 25, 2017 · 4 comments
Assignees

Comments

@peterbsmyth
Copy link

Launching Chrome
Signing in...
Success!

Traceback (most recent call last):
  File "MediumBot.py", line 539, in <module>
    Launch()
  File "MediumBot.py", line 58, in Launch
    StartBrowser(1)
  File "MediumBot.py", line 85, in StartBrowser
    MediumBot(browser)
  File "MediumBot.py", line 231, in MediumBot
    tagURLsQueued = ScrapeUsersFavoriteTagsUrls(browser)
  File "MediumBot.py", line 274, in ScrapeUsersFavoriteTagsUrls
    soup = BeautifulSoup(browser.page_source, "lxml")
  File "/usr/local/lib/python2.7/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?
@MattFlood7
Copy link
Owner

MattFlood7 commented Jun 1, 2017

Hey @peterbsmith2 just saw this. Will look into this when I get a chance. Still moving into the house. Does this same issue happen when you try to run the bot with FireFox?

@MattFlood7 MattFlood7 self-assigned this Jun 1, 2017
@peterbsmyth
Copy link
Author

Right on!

@MattFlood7
Copy link
Owner

Posting slack response for visibility:
Hey I may have a quick fix for you with the MediumBot. Looks like you don’t have lxml installed on your system. Use pip install lxml to install it. Once installed try the bot again and let me know how it goes.

@peterbsmyth
Copy link
Author

worked!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants