MattFlood7 / MediumBot

👾 Medium bot is used to help increase profile visibility by driving social interaction with articles and users on www.Medium.com!
https://mattflood7.github.io/MediumBot/
MIT License
42 stars 19 forks source link

Parser issue #2

Closed peterbsmyth closed 7 years ago

peterbsmyth commented 7 years ago

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 commented 7 years ago

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?

peterbsmyth commented 7 years ago

Right on!

MattFlood7 commented 7 years ago

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 commented 7 years ago

worked!