Skip to content

v2.1.0

Compare
Choose a tag to compare
@mrWh1te mrWh1te released this 14 Sep 23:03
· 64 commits to master since this release
8b5e342

This release includes a slight refactor to all BotAction's that assemble other BotAction's due to the newly added support for an Aborting signal #36 #66

Also, this includes another new type of BotAction called Scrapers for scraping the web page. It uses an agnostic HTML parser and therefore can be overridden with any HTML parsing function. The scrapers work by copying the outerHTML property from the HTML node element that matches the given selector.

Yet, the best is saved for last, this release includes new BotAction's Switch Pipe, Pipe Case and Pipe Cases for more elaborate branching logic. It's possible to incorporate Abort with the three above to create a functional code block similar to the switch, case and break code block.

All this to support a new LinkedIn Feed BotAction likeUserPostsFrom() that scrapes the feed, while causing it too lazily load unfinished feed posts, to click the "Like" button of posts published by certain people from a names list.

Looking forward to supporting other Sites, while Botmation moves towards publishing separate npm packages for each site specific domain.