An open API service indexing awesome lists of open source software.

https://github.com/relikd/botlib

Collection of tools to streamline data format conversion
https://github.com/relikd/botlib

data-processing format-converter html rss telegram

Last synced: 11 months ago
JSON representation

Collection of tools to streamline data format conversion

Awesome Lists containing this project

README

          

# botlib

A collection of scripts to parse and process input files (html, RSS, Atom) – without dependencies1.

1: Well, except for `pytelegrambotapi`, but feel free to replace it with another module.

Includes tools for extracting “news” articles, detection of duplicates, content downloader, cron-like repeated events, and Telegram bot client.
Basically everything you need for quick and dirty format processing (`html->RSS`, `notification->telegram`, `rss/podcast->download`, `web scraper`, ...) without writing the same code over and over again.
The architecture is modular and pipeline oriented.
Use whatever suits the task at hand.

## Usage

There is a short [usage](./botlib/README.md) documentation on the individual componentes of this lib.
And there are some [examples](./examples/) on how to combine them.
Lastly, for web scraping, open the [playground.py](./examples/web-scraper/playground.py) to test your regex.