Bots
Make web scrapers and bots powered by Selenium without all of the boilerplate.
Getting started
pip install litebot
- Download Chromedriver (the version corresponding to your version of Chrome) and unzip it.
- Move it into to your
PATH
so it can be found by your OS. E.g./usr/local/bin
(Mac/Linux) or somewhere else (Windows... look it up)
from litebot.bots import Bot
bot = Bot()
bot.driver.get('https://www.google.com')
bot.click_btn('sign up')
bot.download_file('https://www.example.com/image.jpg', 'images/downloaded_img.jpg')
bot.scroll(x=100, y=200)