chronicle-app / chronicle-etl

📜 A CLI toolkit for extracting and working with your digital history

Home Page:https://chronicle.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plugin connectors should be able to specify different strategies

hyfen opened this issue · comments

A plugin might have different ways of extracting the same type of records. For example, youtube history can come from a Google Takeout export, the official API, or a scraper.

Right now, specifying a connector is a plugin:identifier but we could add an optional middle item to specify a strategy. Syntax:
chronicle-etl -e youtube:scraper:likes. If strategy is left out, we can find the first connector that matches the identifier.

Alternatively, different strategies could just be housed in their own plugins. Invoking them this way:
chronicel-etl -e youtube-scraper:likes